commit | a78c33a6c2d314c425e22aff4cc293b3eb546535 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Tue Jul 16 17:35:31 2024 +0900 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jul 18 03:41:28 2024 +0000 |
tree | 68b63c92db56eb480e39be2586a027a52e5e4a01 | |
parent | c5052b4283508ae2872d6e2d332ee1c8d3703c4f [diff] |
Workaround app compat issue introduced by global ThinLTO optimization Several obfuscation libraries do not work with ThinLTO optimized bionic linker. Given we switched on the optimization late in the 24Q3 (V) release cycle, apply the local opt-out to avoid breaking the apps. This workaround will be removed in the following Android release. Test: manual Bug: 352456802 (cherry picked from https://android-review.googlesource.com/q/commit:aede6ea8d39868c7bf358ee8ee4208a6431d5f57) Merged-In: Ib3902b7985acce8f1c021c230b67aea821ee8dd2 Change-Id: Ib3902b7985acce8f1c021c230b67aea821ee8dd2
diff --git a/linker/Android.bp b/linker/Android.bp index 78109e8..d8fdb11 100644 --- a/linker/Android.bp +++ b/linker/Android.bp
@@ -449,6 +449,10 @@ }, afdo: true, + + // FIXME: Workaround compat issue with obfuscation libraries. + // http://b/352456802 + lto_O0: true, } // ========================================================