summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Buynytskyy <alexbuy@google.com>2020-07-17 22:12:56 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-17 22:12:56 +0000
commit29db312b0c64751130b054291a46a6c1f368369c (patch)
treec7ec93f2dda68d23eda45eb5d23b35c53825f026
parente200c92bf7eba9d130c913b43a1059adb3a9d07a (diff)
parent04524550f01c17bc6b489adbc26791ed9171e3dd (diff)
Fix for sqlite3_open_v2 returning errors. am: 04524550f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/sqlite/+/12174726 Change-Id: If24c5ae4bcec664f7f323c23878068c47c904c96
-rw-r--r--dist/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/Android.bp b/dist/Android.bp
index 414c84d..d4eb4b4 100644
--- a/dist/Android.bp
+++ b/dist/Android.bp
@@ -41,6 +41,9 @@ cc_defaults {
"-Wno-unused-parameter",
"-Werror",
+ // Default value causes sqlite3_open_v2 to return error if DB is missing.
+ "-ftrivial-auto-var-init=pattern",
+
// Turn off the new pass manager due to miscompile.
// http://b/131854833
"-fno-experimental-new-pass-manager",