OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f7c37
)
Skip host system directories in Clang include path.
author
Evgeniy Stepanov
<eugenis@google.com>
Mon, 26 Mar 2012 10:15:47 +0000
(14:15 +0400)
committer
Evgeniy Stepanov
<eugenis@google.com>
Mon, 26 Mar 2012 10:22:07 +0000
(14:22 +0400)
This change removes /usr/include and /usr/local/include from Clang header
search path.
Change-Id: I84450f4f4aef829c5aef9221bf300e69819bac48
core/llvm_config.mk
patch
|
blob
|
history
diff --git
a/core/llvm_config.mk
b/core/llvm_config.mk
index
ec6720a
..
ffa933d
100644
(file)
--- a/
core/llvm_config.mk
+++ b/
core/llvm_config.mk
@@
-22,6
+22,7
@@
CLANG_CONFIG_UNKNOWN_CFLAGS := \
ifeq ($(TARGET_ARCH),arm)
CLANG_CONFIG_EXTRA_CFLAGS += \
-target arm-linux-androideabi \
+ -nostdlibinc \
-B$(TARGET_TOOLCHAIN_ROOT)/arm-linux-androideabi/bin \
-mllvm -arm-enable-ehabi
CLANG_CONFIG_EXTRA_LDFLAGS += \
@@
-37,6
+38,7
@@
endif
ifeq ($(TARGET_ARCH),x86)
CLANG_CONFIG_EXTRA_CFLAGS += \
-target i686-android-linux \
+ -nostdlibinc \
-B$(TARGET_TOOLCHAIN_ROOT)/i686-android-linux/bin
CLANG_CONFIG_EXTRA_LDFLAGS += \
-target i686-android-linux \