Disable shrink-wrap optimization for arm32 devices

Bug: b/319464283
Bug: b/322359235

Change-Id: Ia720f88a8967d00c7fc3ac7d690d4d37123818f1
This commit is contained in:
AdityaK
2024-01-25 18:59:21 -08:00
committed by Aditya Kumar
parent 92eb74475b
commit c4b7a18ffc

View File

@@ -28,13 +28,20 @@ var (
armCflags = []string{
"-fomit-frame-pointer",
// Revert this after b/322359235 is fixed
"-mllvm", "-enable-shrink-wrap=false",
}
armCppflags = []string{}
armCppflags = []string{
// Revert this after b/322359235 is fixed
"-mllvm", "-enable-shrink-wrap=false",
}
armLdflags = []string{
"-Wl,--hash-style=gnu",
"-Wl,-m,armelf",
// Revert this after b/322359235 is fixed
"-Wl,-mllvm", "-Wl,-enable-shrink-wrap=false",
}
armLldflags = armLdflags