Module Name:    src
Committed By:   christos
Date:           Tue Oct  4 14:25:02 UTC 2016

Modified Files:
        src/external/public-domain/sqlite/lib: Makefile

Log Message:
Hack around ppc64.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/public-domain/sqlite/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/sqlite/lib/Makefile
diff -u src/external/public-domain/sqlite/lib/Makefile:1.7 src/external/public-domain/sqlite/lib/Makefile:1.8
--- src/external/public-domain/sqlite/lib/Makefile:1.7	Wed Jul  6 04:01:30 2016
+++ src/external/public-domain/sqlite/lib/Makefile	Tue Oct  4 10:25:02 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2016/07/06 08:01:30 mrg Exp $
+# $NetBSD: Makefile,v 1.8 2016/10/04 14:25:02 christos Exp $
 
 LIB=		sqlite3
 INCS=		sqlite3.h sqlite3ext.h
@@ -22,6 +22,11 @@ CLEANFILES+=sqlite3.pc
 CWARNFLAGS+=	-Wa,--warn
 .endif
 
+.if ${MACHINE_ARCH} == "powerpc64"
+# call to `' lacks nop, can't restore toc; recompile with -fPIC
+COPTS.sqlite3.c += -O0
+.endif
+
 .include <bsd.lib.mk>
 
 all: sqlite3.pc

Reply via email to