No global ThinLTO for bionic
There are multiple build breakages with bionic when we enable ThinLTO
globally. Opt bionic out of ThinLTO for now.
#global-thinlto-opt-out
Test: TreeHugger
Bug: 169004486
Change-Id: I546a8074f9c3e0ddbd01d3b7cd730e215e3c0c49
diff --git a/libc/Android.bp b/libc/Android.bp
index 61d99ac..c94be62 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -1738,6 +1738,10 @@
// Sorting bss symbols by size usually results in less dirty pages at run
// time, because small symbols are grouped together.
sort_bss_symbols_by_size: true,
+
+ lto: {
+ never: true,
+ },
}
genrule {