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 use -Wa, --warn on m68k. n...



details:   https://anonhg.NetBSD.org/src/rev/fece9b2acf14
branches:  trunk
changeset: 346300:fece9b2acf14
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jul 06 08:01:30 2016 +0000

description:
use -Wa,--warn on m68k.  new sqlite generates a large jump table
that generates warnings (but should work).

diffstat:

 external/public-domain/sqlite/lib/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r a2d96e1be043 -r fece9b2acf14 external/public-domain/sqlite/lib/Makefile
--- a/external/public-domain/sqlite/lib/Makefile        Wed Jul 06 07:52:53 2016 +0000
+++ b/external/public-domain/sqlite/lib/Makefile        Wed Jul 06 08:01:30 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2014/03/07 18:37:48 christos Exp $
+# $NetBSD: Makefile,v 1.7 2016/07/06 08:01:30 mrg Exp $
 
 LIB=           sqlite3
 INCS=          sqlite3.h sqlite3ext.h
@@ -16,6 +16,12 @@
 
 CLEANFILES+=sqlite3.pc
 
+.include <bsd.own.mk>
+
+.if ${MACHINE_CPU} == "m68k"
+CWARNFLAGS+=   -Wa,--warn
+.endif
+
 .include <bsd.lib.mk>
 
 all: sqlite3.pc



Home | Main Index | Thread Index | Old Index