diff options
-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. |