aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-host-build.mk
diff options
context:
space:
mode:
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 e8fd066..cd81da8 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
LOCAL_CFLAGS := \
-D_GNU_SOURCE \
@@ -9,7 +12,7 @@ LOCAL_CFLAGS := \
-W \
-Wno-unused-parameter \
-Wwrite-strings \
- -Dsprintf=sprintf \
+ -Dsprintf=sprintf \
$(LOCAL_CFLAGS)
ifeq ($(LLVM_ENABLE_ASSERTION),true)