summaryrefslogtreecommitdiff
path: root/sqlite3
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-01 07:49:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-01 07:49:52 +0200
commit330ffb995ec9ead9c53cd477e11887e5f9d982dc (patch)
tree4f8fd8e74cdbeaac2ab4281f8ca21e5dbb71faf7 /sqlite3
parent5c396d4dd3a6e2528147b55fc35b86cbcbc93524 (diff)
Build system updates
Diffstat (limited to 'sqlite3')
-rw-r--r--sqlite3/buildfile16
1 files changed, 5 insertions, 11 deletions
diff --git a/sqlite3/buildfile b/sqlite3/buildfile
index 98c0ee6..8fc111b 100644
--- a/sqlite3/buildfile
+++ b/sqlite3/buildfile
@@ -2,14 +2,7 @@
# copyright : not copyrighted - public domain
lib{sqlite3}: {h c}{sqlite3} h{sqlite3ext}
-
-# For pre-releases use the complete version to make sure they cannot be used
-# in place of another pre-release or the final version.
-#
-if $abi_prerelease
- lib{sqlite3}: bin.lib.version = @-$version
-else
- lib{sqlite3}: bin.lib.version = @-$abi_major.$abi_minor
+lib{sqlite3}: bin.lib.version = @-$abi_major # See bootstrap.build.
# The set of features we enable by default is inspired by Debian, Fedora, and
# the official documentation.
@@ -20,7 +13,10 @@ else
#
# PREUPDATE_HOOK is required by SESSION
#
-# -DSQLITE_ENABLE_SESSION=1 removed due to bug in 3.14.1.
+# -DSQLITE_ENABLE_SESSION=1 removed for now due to bug in 3.14.1.
+#
+# Note that if disabling any previously-released features, then will need to
+# increment abi_major.
#
cc.poptions =+ \
-DSQLITE_THREADSAFE=1 \
@@ -36,8 +32,6 @@ cc.poptions =+ \
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_ENABLE_FTS3_PARENTHESIS=1
-c.poptions += -I$src_base
-
if ($c.target.class != "windows")
{
cc.poptions =+ -DHAVE_USLEEP=1