Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/public-domain/sqlite/lib Hack around ppc64.
details: https://anonhg.NetBSD.org/src/rev/f274ad61f542
branches: trunk
changeset: 348090:f274ad61f542
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 04 14:25:02 2016 +0000
description:
Hack around ppc64.
diffstat:
external/public-domain/sqlite/lib/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 09b3d8113179 -r f274ad61f542 external/public-domain/sqlite/lib/Makefile
--- a/external/public-domain/sqlite/lib/Makefile Tue Oct 04 14:13:46 2016 +0000
+++ b/external/public-domain/sqlite/lib/Makefile Tue Oct 04 14:25:02 2016 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index