diff options
author | Tim Murray <timmurray@google.com> | 2015-01-05 16:47:08 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-01-05 16:47:09 +0000 |
commit | 1be856302d996cbccf76d19bb651347dc2c8d04b (patch) | |
tree | 31f49b17aa921ad764bbfa224f684a0f89c9075a | |
parent | 09d14aa3fec0269014fd7b742e84a016b35010f9 (diff) | |
parent | 666dcadba6e445a06085ee785721bab99a01a226 (diff) | |
download | external_llvm-1be856302d996cbccf76d19bb651347dc2c8d04b.zip external_llvm-1be856302d996cbccf76d19bb651347dc2c8d04b.tar.gz external_llvm-1be856302d996cbccf76d19bb651347dc2c8d04b.tar.bz2 |
Merge "Add -fno-inline to LLVM device flags."
-rw-r--r-- | llvm-device-build.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm-device-build.mk b/llvm-device-build.mk index 5d863f5..acdb0a8 100644 --- a/llvm-device-build.mk +++ b/llvm-device-build.mk @@ -16,6 +16,10 @@ LOCAL_CFLAGS := \ -Dsprintf=sprintf \ $(LOCAL_CFLAGS) +# ARM64 builds seem to miscompile libLLVM without fno-inline. +# Test and eventually remove after a future rebase. +LOCAL_CFLAGS_arm64 := -fno-inline + # The three inline options together reduce libbcc.so almost 1MB. # We move them from global build/core/combo/TARGET_linux-arm.mk # to here. |