aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-device-build.mk
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-04-02 18:32:07 +0000
committerTim Murray <timmurray@google.com>2014-04-02 18:32:07 +0000
commitc4b495138646347154a45bf5524d8a936153c4bc (patch)
tree1c782022aeb5ca9e1236aecfd6a71853825d62e8 /llvm-device-build.mk
parent7d8cea6e8e2bddaa4475835106bf88d214d95279 (diff)
downloadexternal_llvm-c4b495138646347154a45bf5524d8a936153c4bc.zip
external_llvm-c4b495138646347154a45bf5524d8a936153c4bc.tar.gz
external_llvm-c4b495138646347154a45bf5524d8a936153c4bc.tar.bz2
Revert "Make LLVM compile with prebuilt clang."
This reverts commit 7d8cea6e8e2bddaa4475835106bf88d214d95279. Change-Id: Ide81c8f7662646070481edb9f3196a0d9152adc2
Diffstat (limited to 'llvm-device-build.mk')
-rw-r--r--llvm-device-build.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm-device-build.mk b/llvm-device-build.mk
index 7464c98..70c9a84 100644
--- a/llvm-device-build.mk
+++ b/llvm-device-build.mk
@@ -1,7 +1,5 @@
LOCAL_MODULE_TARGET_ARCH := $(LLVM_SUPPORTED_ARCH)
-LOCAL_CLANG := true
-
LOCAL_CFLAGS := \
-D_GNU_SOURCE \
-D__STDC_LIMIT_MACROS \
@@ -13,14 +11,15 @@ LOCAL_CFLAGS := \
-W \
-Wno-unused-parameter \
-Wwrite-strings \
- -Dsprintf=sprintf \
$(LOCAL_CFLAGS)
# The three inline options together reduce libbcc.so almost 1MB.
# We move them from global build/core/combo/TARGET_linux-arm.mk
# to here.
LOCAL_CFLAGS := -DANDROID_TARGET_BUILD \
+ -finline-limit=64 \
-finline-functions \
+ -fno-inline-functions-called-once \
$(LOCAL_CFLAGS)
ifeq ($(TARGET_BUILD_VARIANT),eng)