Skip host system directories in Clang include path.
This change removes /usr/include and /usr/local/include from Clang header
search path.
Change-Id: I84450f4f4aef829c5aef9221bf300e69819bac48
diff --git a/core/llvm_config.mk b/core/llvm_config.mk
index ec6720a..ffa933d 100644
--- a/core/llvm_config.mk
+++ b/core/llvm_config.mk
@@ -22,6 +22,7 @@
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 @@
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 \