summaryrefslogtreecommitdiffstats
path: root/llvm-device-build.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2010-08-19 17:39:26 -0700
committerYing Wang <wangying@google.com>2010-08-19 17:39:26 -0700
commit28c238c9ded0b5c91e122c94b5a02d76a5245c11 (patch)
treeb85fb84a4b31993292f3d88b66df518ed5975b3c /llvm-device-build.mk
parent3e5165a7cc01d28b680a5f409eda72788cb451d3 (diff)
downloadexternal_llvm-28c238c9ded0b5c91e122c94b5a02d76a5245c11.zip
external_llvm-28c238c9ded0b5c91e122c94b5a02d76a5245c11.tar.gz
external_llvm-28c238c9ded0b5c91e122c94b5a02d76a5245c11.tar.bz2
Fix sim build.
Note that this only makes the sim build green, but the built images won't work for sure: No libbcc.so, which depends on something else that can not build in sim mode. No x86 bitcode is generated as well, I believe. Change-Id: Idca8378427196622ac77cd56a38c6a160f03ba22
Diffstat (limited to 'llvm-device-build.mk')
-rw-r--r--llvm-device-build.mk5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm-device-build.mk b/llvm-device-build.mk
index 80d1f61..17532a0 100644
--- a/llvm-device-build.mk
+++ b/llvm-device-build.mk
@@ -1,6 +1,3 @@
-# Only use this on the device or emulator.
-ifeq ($(TARGET_ARCH),arm)
-
LOCAL_CFLAGS := \
-D_GNU_SOURCE \
-D__STDC_LIMIT_MACROS \
@@ -62,5 +59,3 @@ $(hide) $(TBLGEN) \
-gen-$(strip $(1)) \
-o $@ $<
endef
-
-endif