aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-host-build.mk
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-09-29 22:54:01 -0700
committerStephen Hines <srhines@google.com>2014-09-30 02:30:29 -0700
commit8a95734f9813e11664344a198af8c9203451e684 (patch)
tree11f9baa97d6bd17917b1ced5fdd90cf3d7f63360 /llvm-host-build.mk
parent593a05ca1e177fc584cba399bf66fbf437ba75d9 (diff)
downloadexternal_llvm-8a95734f9813e11664344a198af8c9203451e684.zip
external_llvm-8a95734f9813e11664344a198af8c9203451e684.tar.gz
external_llvm-8a95734f9813e11664344a198af8c9203451e684.tar.bz2
Fix windows build for LLVM.
Don't include libcxx on windows. Fix PSTR -> PCSTR typo in config header. Bug: 14416410 Change-Id: I2e66ed56a5a585ab126b9ac181def057908289d0
Diffstat (limited to 'llvm-host-build.mk')
-rw-r--r--llvm-host-build.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm-host-build.mk b/llvm-host-build.mk
index 4e2898d..b40bcbe 100644
--- a/llvm-host-build.mk
+++ b/llvm-host-build.mk
@@ -1,9 +1,8 @@
# Windows can't use Clang to build yet
ifneq ($(HOST_OS),windows)
LOCAL_CLANG := true
-endif
-
include external/libcxx/libcxx.mk
+endif
LOCAL_CFLAGS += \
-D_GNU_SOURCE \
@@ -48,7 +47,6 @@ LOCAL_C_INCLUDES := \
$(LLVM_ROOT_PATH) \
$(LLVM_ROOT_PATH)/include \
$(LLVM_ROOT_PATH)/host/include \
- external/libcxx/include \
$(LOCAL_C_INCLUDES)
LOCAL_IS_HOST_MODULE := true