Fix Windows SDK build to not use clang.
bug 16172793
Change-Id: I7bf76cae49ec17bf50eb657b0e38234b7cb55e85
diff --git a/core/binary.mk b/core/binary.mk
index ac7e14f..5f0b043 100644
--- a/core/binary.mk
+++ b/core/binary.mk
@@ -133,9 +133,11 @@
# clang is enabled by default for host builds
# enable it unless we've specifically disabled clang above
ifdef LOCAL_IS_HOST_MODULE
-ifeq ($(my_clang),)
- my_clang := true
-endif
+ ifneq($(HOST_OS),windows)
+ ifeq ($(my_clang),)
+ my_clang := true
+ endif
+ endif
endif
# arch-specific static libraries go first so that generic ones can depend on them