Module Name: src Committed By: riastradh Date: Wed Aug 9 07:37:24 UTC 2023
Modified Files: src/external/public-domain/sqlite/lib: Makefile Log Message: sqlite3/lib/Makefile: -Wno-error=restrict is a gccism. Let's try to get at least one working clang autobuild this summer, shall we? To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 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.16 src/external/public-domain/sqlite/lib/Makefile:1.17 --- src/external/public-domain/sqlite/lib/Makefile:1.16 Tue Aug 8 06:27:32 2023 +++ src/external/public-domain/sqlite/lib/Makefile Wed Aug 9 07:37:23 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2023/08/08 06:27:32 mrg Exp $ +# $NetBSD: Makefile,v 1.17 2023/08/09 07:37:23 riastradh Exp $ LIB= sqlite3 INCS= sqlite3.h sqlite3ext.h @@ -24,7 +24,7 @@ CWARNFLAGS.clang+= -Wno-error=implicit-i COPTS.sqlite3.c+= ${CC_WNO_RETURN_LOCAL_ADDR} ${CC_WNO_STRINGOP_OVERFLOW} COPTS.sqlite3.c+= ${CC_WNO_ARRAY_BOUNDS} COPTS.sqlite3.c+= -Wno-error=misleading-indentation -COPTS.sqlite3.c+= -Wno-error=restrict +COPTS.sqlite3.c+= ${${ACTIVE_CC} == "gcc":? -Wno-error=restrict :} .include <bsd.own.mk>