aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2024-03-25 07:14:29 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-03-25 07:14:29 +0000
commit949157d58251ca627f3a06c4eb468e6002f5206a (patch)
treeb9a9b8bb4b4956355853e631e7409865f56ee85b
parente58af3da5a4bc0452364632f3c7161233f5479ab (diff)
parente022cf58ddf734df6552b003c5859196f0c51fbc (diff)
downloadsoong-949157d58251ca627f3a06c4eb468e6002f5206a.tar.gz
Merge "Remove ThinLTO workaround for VNDK" into main
-rw-r--r--cc/lto.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/cc/lto.go b/cc/lto.go
index 05fa8eea5..a084db7be 100644
--- a/cc/lto.go
+++ b/cc/lto.go
@@ -90,10 +90,6 @@ func (lto *lto) begin(ctx BaseModuleContext) {
} else if ctx.testBinary() || ctx.testLibrary() {
// Do not enable LTO for tests for better debugging.
ltoEnabled = false
- } else if ctx.isVndk() {
- // FIXME: ThinLTO for VNDK produces different output.
- // b/169217596
- ltoEnabled = false
}
lto.Properties.LtoDefault = ltoDefault