aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-host-build.mk
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-05-05 17:48:13 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-05 17:48:14 +0000
commita15b2316e7c7871d79475302d650167692f15657 (patch)
tree71234af00ed53fde74eab8ddb639e1a425ad1e8f /llvm-host-build.mk
parent7e3bc2d73a00a663afe78dbf4ff37374b05326d5 (diff)
parent63bbc50d72c97ccbf981bced0a0bc403826cbc27 (diff)
downloadexternal_llvm-a15b2316e7c7871d79475302d650167692f15657.zip
external_llvm-a15b2316e7c7871d79475302d650167692f15657.tar.gz
external_llvm-a15b2316e7c7871d79475302d650167692f15657.tar.bz2
Merge "Don't try to use Clang on Windows yet."
Diffstat (limited to 'llvm-host-build.mk')
-rw-r--r--llvm-host-build.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm-host-build.mk b/llvm-host-build.mk
index 4ab911b..c68d455 100644
--- a/llvm-host-build.mk
+++ b/llvm-host-build.mk
@@ -1,4 +1,7 @@
+# Windows can't use Clang to build yet
+ifneq ($(HOST_OS),windows)
LOCAL_CLANG := true
+endif
include external/libcxx/libcxx.mk
@@ -11,7 +14,7 @@ LOCAL_CFLAGS += \
-W \
-Wno-unused-parameter \
-Wwrite-strings \
- -Dsprintf=sprintf \
+ -Dsprintf=sprintf \
$(LOCAL_CFLAGS)
ifeq ($(LLVM_ENABLE_ASSERTION),true)