Skip to content

Commit 1856cb9

Browse files
Removing -DSQLITE_DEFAULT_AUTOVACUUM=1 from the build
1 parent 95096e4 commit 1856cb9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

external/Android.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ project_ldflags:= -Llibs/armeabi/ -Landroid-libs/
2828
# SQLITE_TEMP_STORE=3 causes all TEMP files to go into RAM. and thats the behavior we want
2929
# SQLITE_ENABLE_FTS3 enables usage of FTS3 - NOT FTS1 or 2.
3030
# SQLITE_DEFAULT_AUTOVACUUM=1 causes the databases to be subject to auto-vacuum
31-
android_sqlite_cflags := -DHAVE_USLEEP=1 -DSQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=1048576 -DSQLITE_THREADSAFE=1 -DNDEBUG=1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1 -DSQLITE_DEFAULT_AUTOVACUUM=1 -DSQLITE_TEMP_STORE=3 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_BACKWARDS -DSQLITE_ENABLE_LOAD_EXTENSION -DCODEC_DEBUG
31+
android_sqlite_cflags := -DHAVE_USLEEP=1 \
32+
-DSQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=1048576 -DSQLITE_THREADSAFE=1 -DNDEBUG=1 \
33+
-DSQLITE_ENABLE_MEMORY_MANAGEMENT=1 -DSQLITE_TEMP_STORE=3 \
34+
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_BACKWARDS \
35+
-DSQLITE_ENABLE_LOAD_EXTENSION
3236

3337
sqlcipher_files := \
3438
sqlcipher/sqlite3.c

0 commit comments

Comments
 (0)