Merge "<threads.h>: `thread_local` should match the C23 #if guard for `static_assert`." into main am: 3932e93edd

Original change: https://android-review.googlesource.com/c/platform/bionic/+/3254859

Change-Id: Ifccfbaa958691c9ec6daa16bb78d29eda64ad100
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/linker/Android.bp b/linker/Android.bp
index 563cf3d..d82e687 100644
--- a/linker/Android.bp
+++ b/linker/Android.bp
@@ -394,6 +394,10 @@
     },
 
     afdo: true,
+
+    // FIXME: Workaround compat issue with obfuscation libraries.
+    // http://b/352456802
+    lto_O0: true,
 }
 
 // ========================================================