Merge "Re-enable LTO for linker" am: 7d3f322e64

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

Change-Id: Ia6a2157d9392f20590febaa883d587818a4a4107
This commit is contained in:
Yi Kong 2021-11-04 10:50:28 +00:00 committed by Automerger Merge Worker
commit c7b2bd6f1d
2 changed files with 4 additions and 6 deletions

View file

@ -122,6 +122,10 @@ cc_defaults {
cflags: ["-DUSE_SCUDO"],
},
},
lto: {
never: true,
},
}
libc_scudo_product_variables = {
@ -1782,9 +1786,6 @@ cc_library {
"com.android.runtime",
],
lto: {
never: true,
},
target: {
native_bridge: {
shared: {

View file

@ -391,9 +391,6 @@ cc_binary {
},
},
lto: {
never: true,
},
pgo: {
sampling: true,
},