diff options
author | Tim Murray <timmurray@google.com> | 2014-12-29 12:46:43 -0800 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2014-12-30 10:24:06 -0800 |
commit | 666dcadba6e445a06085ee785721bab99a01a226 (patch) | |
tree | db85d0e710b5b5b66958b406fd464d2bea7b7c88 | |
parent | b4cbf2e86bc30549b49a99d99af9a5f91c607e9b (diff) | |
download | external_llvm-666dcadba6e445a06085ee785721bab99a01a226.zip external_llvm-666dcadba6e445a06085ee785721bab99a01a226.tar.gz external_llvm-666dcadba6e445a06085ee785721bab99a01a226.tar.bz2 |
Add -fno-inline to LLVM device flags.
This works around a problem in the last rebase where RS compiles
using an AArch64-based toolchain crash.
bug 18808781
Change-Id: I6c51cf6fc34a1da9182b11fae9471791fa959e6e
-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. |