diff options
author | 2025-02-04 12:53:40 +0800 | |
---|---|---|
committer | 2025-02-06 10:24:46 -0800 | |
commit | b15a268e2945ea138679672afa14e52a5c282fe8 (patch) | |
tree | dae1c84058a7393292a99778d779daa9b389655a | |
parent | 1129de94bb89ee919e91325d5e64e5b9a44510bc (diff) |
Workaround build breakage due to C++/Rust LTO Interop
The workaround was broken by change 21b18905fc65b0d0811a6c527e53297e05a0f5f3.
Test: presubmit
Bug: 392480646
Bug: 336916369
Change-Id: I8556d83635bbeccd42cd908b189c886101e075e9
-rw-r--r-- | libfdt/Android.bp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libfdt/Android.bp b/libfdt/Android.bp index 32b3b39..7bfb055 100644 --- a/libfdt/Android.bp +++ b/libfdt/Android.bp @@ -21,6 +21,11 @@ cc_defaults { "acpi.c", ], export_include_dirs: ["."], + // b/336916369: This library gets linked into a rust rlib. Disable LTO + // until cross-language lto is supported. + lto: { + never: true, + }, } cc_library { @@ -39,9 +44,4 @@ cc_library { "cc_baremetal_defaults", "libfdt_defaults", ], - // b/336916369: This library gets linked into a rust rlib. Disable LTO - // until cross-language lto is supported. - lto: { - never: true, - }, } |