diff options
author | Shih-wei Liao <sliao@google.com> | 2010-06-07 22:05:52 -0700 |
---|---|---|
committer | Shih-wei Liao <sliao@google.com> | 2010-06-07 22:19:10 -0700 |
commit | c156bc696311928af01132d159b9e307436779bb (patch) | |
tree | e575ed202f5bc77ec53c7430290d5565e28ba904 /llvm-device-build.mk | |
parent | 8a54f3e1f79c1e57e76a1cc53c6c5697374ea7b5 (diff) | |
download | external_llvm-c156bc696311928af01132d159b9e307436779bb.zip external_llvm-c156bc696311928af01132d159b9e307436779bb.tar.gz external_llvm-c156bc696311928af01132d159b9e307436779bb.tar.bz2 |
Fix llvm.mk and the other 49 mk files
Change-Id: I5aa02363c1083297d163a575f5a35c495f950230
Diffstat (limited to 'llvm-device-build.mk')
-rw-r--r-- | llvm-device-build.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/llvm-device-build.mk b/llvm-device-build.mk index 061384a..d5766db 100644 --- a/llvm-device-build.mk +++ b/llvm-device-build.mk @@ -1,3 +1,6 @@ +# Only use this on the device or emulator. +ifneq ($(TARGET_ARCH),arm) + LOCAL_CFLAGS := \ -D_GNU_SOURCE \ -D__STDC_LIMIT_MACROS \ @@ -21,7 +24,7 @@ endif ifneq ($(REQUIRES_EH),1) LOCAL_CFLAGS += -fno-exceptions else -# No action. The device target should not have exception enabled since bionic +# No action. The device target should not have exception enabled since bionic # doesn't support it REQUIRES_EH := 0 endif @@ -35,7 +38,7 @@ endif LOCAL_CPPFLAGS := \ $(LOCAL_CPPFLAGS) \ -Woverloaded-virtual - + # Make sure bionic is first so we can include system headers. LOCAL_C_INCLUDES := \ bionic \ @@ -59,3 +62,5 @@ $(hide) $(TBLGEN) \ -gen-$(strip $(1)) \ -o $@ $< endef + +endif |