aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)