summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2024-04-01 08:50:09 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-01 08:50:09 +0000
commit6e173c001aaa0d2813871aae56bc4ec3afb762e0 (patch)
tree905246e3293ef675763e6a3c16d5c8be1e887c7b
parent488f64fde2e8d8a3b163fe44807821a00e2c1448 (diff)
parent4a4d13bcafd13630e1e8fb47304710fb8bf82d88 (diff)
downloadsqlite-6e173c001aaa0d2813871aae56bc4ec3afb762e0.tar.gz
Merge "Disable LTO for libsqlite" into main
-rw-r--r--dist/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/Android.bp b/dist/Android.bp
index c47dfe5..0d9a1d1 100644
--- a/dist/Android.bp
+++ b/dist/Android.bp
@@ -187,6 +187,10 @@ cc_library {
],
afdo: true,
+ // libsqlite is a single gigantic C file, no need to run LTO.
+ lto: {
+ never: true,
+ },
}
// This static library is variant of libsqlite built without the ICU extension.