aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2023-10-30 21:42:40 +0900
committerYi Kong <yikong@google.com>2024-03-21 16:34:56 +0000
commite022cf58ddf734df6552b003c5859196f0c51fbc (patch)
treeaddc0ab6410e20d5f5124ea6577f16257feba5b5
parentbd71657e91c1d5c44d4558b73339f56420acd665 (diff)
downloadsoong-e022cf58ddf734df6552b003c5859196f0c51fbc.tar.gz
Remove ThinLTO workaround for VNDK
VNDK is deprecated. The build is passing without the workaround. Test: presubmit Bug: 169217596 Change-Id: I7cf2c33984c50d06f3e69ebc916ce6a89468204a
-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