aboutsummaryrefslogtreecommitdiff
path: root/lib/libsqlite3
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-09-11 13:28:37 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-09-11 13:28:37 +0000
commitecebb3cc1d2d074defc302d8ae6820bb6b20d4fe (patch)
tree82d4975af5d9f605e80daeb706f1b9f5ce4eb59e /lib/libsqlite3
parentb876085f5589f4e6d531d97ad902c5730ec55339 (diff)
downloadsrc-ecebb3cc1d2d074defc302d8ae6820bb6b20d4fe.tar.gz
src-ecebb3cc1d2d074defc302d8ae6820bb6b20d4fe.zip
Only set WARNS if not defined
This would allow interested parties to do experimental runs with an environment set appropriately to raise all the warnings throughout the build; e.g. env WARNS=6 NO_WERROR=yes buildworld. Not currently touching the numerous instances in ^/tools. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=365631
Diffstat (limited to 'lib/libsqlite3')
-rw-r--r--lib/libsqlite3/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libsqlite3/Makefile b/lib/libsqlite3/Makefile
index fc3dc624409f..458e7d7ddfb1 100644
--- a/lib/libsqlite3/Makefile
+++ b/lib/libsqlite3/Makefile
@@ -12,7 +12,7 @@ INCS= sqlite3.h sqlite3ext.h
SQLITE= ${SRCTOP}/contrib/sqlite3
.PATH: ${SQLITE}
-WARNS= 3
+WARNS?= 3
CFLAGS+= -I${SQLITE} \
-DUSE_PREAD=1 \
-DSTDC_HEADERS=1 \