summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2016-06-15 00:21:19 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-06-20 22:10:09 +0200
commit0ccc762f07707f23938c5b84f461a93a72420b4c (patch)
tree7dfb58dbbca0bdcd57232c49e4a18bc779e05147
parenta079a6d10ff67ab667dd72def54acf928eaead09 (diff)
downloadptxdist-0ccc762f07707f23938c5b84f461a93a72420b4c.tar.gz
ptxdist-0ccc762f07707f23938c5b84f461a93a72420b4c.tar.xz
sqlite: version bump and improved build options
- Bump the version to 3.13.0: http://sqlite.org/releaselog/3_13_0.html - Using FTS4 also enables FTS3, they share most of their code and FTS4 is recommended for new applications. (Better query performance) - Include the JSON1 functions - The lookaside memory allocator should not be disabled, it is the default allocator since 3.6.1 and is much quicker. 50KB per database connection are used for the memory pool but this can be changed at runtime, if a smaller memory footprint is required. - SECURE_DELETE should not be the default, those who need it can always enable it at runtime with the secure_delete pragma. That build option only controls the default value. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/sqlite.make12
1 files changed, 6 insertions, 6 deletions
diff --git a/rules/sqlite.make b/rules/sqlite.make
index 582437c27..79b040c0c 100644
--- a/rules/sqlite.make
+++ b/rules/sqlite.make
@@ -5,6 +5,7 @@
# 2009 by Erwin Rol <erwin@erwinrol.com>
# 2010, 2012 by Marc Kleine-Budde <mkl@pengutronix.de>
# 2011 by Markus Rathgeb <rathgeb.markus@googlemail.com>
+# 2016 by Clemens Gruber <clemens.gruber@pqgruber.com>
#
# See CREDITS for details about who has contributed to this project.
#
@@ -20,11 +21,11 @@ PACKAGES-$(PTXCONF_SQLITE) += sqlite
#
# Paths and names
#
-SQLITE_VERSION := 3090200
-SQLITE_MD5 := bc4eb5b3fc5cfcb6e059794306cac1ca
+SQLITE_VERSION := 3130000
+SQLITE_MD5 := 4e83f39fa2ffb610ac5ecd36865da6a2
SQLITE := sqlite-autoconf-$(SQLITE_VERSION)
SQLITE_SUFFIX := tar.gz
-SQLITE_URL := http://www.sqlite.org/2015/$(SQLITE).$(SQLITE_SUFFIX)
+SQLITE_URL := http://www.sqlite.org/2016/$(SQLITE).$(SQLITE_SUFFIX)
SQLITE_SOURCE := $(SRCDIR)/$(SQLITE).$(SQLITE_SUFFIX)
SQLITE_DIR := $(BUILDDIR)/$(SQLITE)
SQLITE_LICENSE := public_domain
@@ -37,11 +38,10 @@ SQLITE_CONF_ENV := \
$(CROSS_ENV) \
CPPFLAGS=" \
-DSQLITE_ENABLE_COLUMN_METADATA \
- -DSQLITE_ENABLE_FTS3 \
+ -DSQLITE_ENABLE_FTS4 \
+ -DSQLITE_ENABLE_JSON1 \
-DSQLITE_ENABLE_RTREE=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
- -DSQLITE_OMIT_LOOKASIDE=1 \
- -DSQLITE_SECURE_DELETE \
-DSQLITE_SOUNDEX=1 \
"