summaryrefslogtreecommitdiffstats
path: root/package/sqlite/sqlite.mk
diff options
context:
space:
mode:
authorSven Neumann <s.neumann@raumfeld.com>2011-12-07 20:00:10 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-12-11 22:17:58 +0100
commit9bb9a6db18f9c54df3356bc5116ac064637e8368 (patch)
tree628658b64834d78d1488378d4150f2471b3c55d7 /package/sqlite/sqlite.mk
parentd2e7ec721f28a360b6bda2ed7e0f26218accc292 (diff)
downloadbuildroot-novena-9bb9a6db18f9c54df3356bc5116ac064637e8368.tar.gz
buildroot-novena-9bb9a6db18f9c54df3356bc5116ac064637e8368.zip
sqlite: add option to enable additional query optimizations (stat3)
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/sqlite/sqlite.mk')
-rw-r--r--package/sqlite/sqlite.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk
index 0bee337e7..042c7f91f 100644
--- a/package/sqlite/sqlite.mk
+++ b/package/sqlite/sqlite.mk
@@ -16,6 +16,10 @@ ifneq ($(BR2_LARGEFILE),y)
SQLITE_CFLAGS += -DSQLITE_DISABLE_LFS
endif
+ifeq ($(BR2_PACKAGE_SQLITE_STAT3),y)
+SQLITE_CFLAGS += -DSQLITE_ENABLE_STAT3
+endif
+
SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) $(SQLITE_CFLAGS)"
SQLITE_CONF_OPT = \