aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-host-build.mk
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-04-01 17:20:44 -0700
committerTim Murray <timmurray@google.com>2014-04-01 17:20:44 -0700
commit63bbc50d72c97ccbf981bced0a0bc403826cbc27 (patch)
tree0760a914d8d26d0cc1ef5dbafc82ce8ec8d74f3d /llvm-host-build.mk
parent7d8cea6e8e2bddaa4475835106bf88d214d95279 (diff)
downloadexternal_llvm-63bbc50d72c97ccbf981bced0a0bc403826cbc27.zip
external_llvm-63bbc50d72c97ccbf981bced0a0bc403826cbc27.tar.gz
external_llvm-63bbc50d72c97ccbf981bced0a0bc403826cbc27.tar.bz2
Don't try to use Clang on Windows yet.
bug 13588226 Change-Id: I8a3e4293a3cb9acaa193779b8a548497b74c69fa
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)