From 6b1534d4e0fb4781f4bcbbc98237dc25c2292097 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Tue, 28 Nov 2023 11:44:04 +0900 Subject: [PATCH] Re-enable LTO for linker The build breakage is now fixed by the current stable Clang, workaround is no longer needed. Test: presubmit Change-Id: Ice2863844ff886f503d50fa7a006cde78d16492d Signed-off-by: Cyber Knight --- linker/Android.bp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/linker/Android.bp b/linker/Android.bp index a1b8ce8ae..aca63e49b 100644 --- a/linker/Android.bp +++ b/linker/Android.bp @@ -502,10 +502,6 @@ cc_library { "//apex_available:platform", "com.android.runtime", ], - - lto: { - never: true, - }, } cc_test {