summaryrefslogtreecommitdiff
path: root/lib/libsqlite3/Makefile
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2013-09-11 15:00:20 +0000
committerMarc Espie <espie@cvs.openbsd.org>2013-09-11 15:00:20 +0000
commit6b4686ba26a741b2a5442fa78835739f85962854 (patch)
tree873c4b79500a3c3a44fdbd10d8a2ffae9a0592d3 /lib/libsqlite3/Makefile
parent609035c3afb38a811b441e9b37cb0355d28251bd (diff)
switch to using arc4random, as prompted by deraadt@.
also, OMIT_BUILTIN_TEST, since we're just a production library (duh) bump shlib_version accordingly okay reyk@, thanks for looking at this!
Diffstat (limited to 'lib/libsqlite3/Makefile')
-rw-r--r--lib/libsqlite3/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libsqlite3/Makefile b/lib/libsqlite3/Makefile
index 7eb96e84c7c..d7009341eb2 100644
--- a/lib/libsqlite3/Makefile
+++ b/lib/libsqlite3/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2013/06/09 14:48:53 landry Exp $
+# $OpenBSD: Makefile,v 1.11 2013/09/11 15:00:18 espie Exp $
.include <bsd.own.mk>
@@ -40,13 +40,15 @@ SRCS += pthread_stub.c
FEATURE_FLAGS = -DSQLITE_ENABLE_COLUMN_METADATA \
-DSQLITE_ENABLE_RTREE \
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
- -DSQLITE_ENABLE_FTS3
+ -DSQLITE_ENABLE_FTS3 \
+ -DSQLITE_OMIT_BUILTIN_TEST
CPPFLAGS += $(FEATURE_FLAGS) -DSQLITE_THREADSAFE=1 \
-DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 \
-DHAVE_GMTIME_R=1 \
-DHAVE_LOCALTIME_R=1 \
-DHAVE_USLEEP=1 \
+ -DHAVE_ARC4RANDOM_BUF=1 \
-DHAVE_STRERROR_R=1 \
-DSQLITE_TEMP_STORE=1 \
-DSQLITE_SOUNDEX=1 \