summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2024-03-29 11:18:29 +0900
committerYi Kong <yikong@google.com>2024-03-29 11:21:22 +0900
commit4a4d13bcafd13630e1e8fb47304710fb8bf82d88 (patch)
tree905246e3293ef675763e6a3c16d5c8be1e887c7b
parent488f64fde2e8d8a3b163fe44807821a00e2c1448 (diff)
downloadsqlite-4a4d13bcafd13630e1e8fb47304710fb8bf82d88.tar.gz
Disable LTO for libsqlite
libsqlite is a single gigantic C file, no need to run LTO. Test: presubmit Change-Id: I6d9b7ab20ffb509806b479038e7be11aecc6f1c8
-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.