From 666dcadba6e445a06085ee785721bab99a01a226 Mon Sep 17 00:00:00 2001 From: Tim Murray Date: Mon, 29 Dec 2014 12:46:43 -0800 Subject: 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 --- llvm-device-build.mk | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v1.1