From 1a3dd7eb4b8cd9b0a8c534aa872f90a7fee253a0 Mon Sep 17 00:00:00 2001 From: Yi-Yo Chiang Date: Wed, 11 Oct 2023 02:06:26 +0000 Subject: [PATCH] Revert "init_first_stage: Disable ThinLTO" This reverts commit 4d6fa8ccaf37f5ba5b501036cd187a184f119438. Reason for revert: b/295944813 is fixed Bug: 304290959 Change-Id: I2d6f5216800d6ee26b25623898836dc216c8be18 Test: adb-remount-test.sh --- init/Android.bp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/init/Android.bp b/init/Android.bp index 0b8c7dc09..1af398a9a 100644 --- a/init/Android.bp +++ b/init/Android.bp @@ -394,10 +394,6 @@ init_first_stage_cc_defaults { ], static_executable: true, - lto: { - // b/169004486 ThinLTO breaks x86 static executables. - never: true, - }, system_shared_libs: [], cflags: [