OSDN Git Service

Fix Windows SDK build to not use clang.
authorTim Murray <timmurray@google.com>
Thu, 24 Jul 2014 21:42:53 +0000 (14:42 -0700)
committerTim Murray <timmurray@google.com>
Thu, 24 Jul 2014 21:43:33 +0000 (14:43 -0700)
bug 16172793

Change-Id: I7bf76cae49ec17bf50eb657b0e38234b7cb55e85

core/binary.mk

index ac7e14f..5f0b043 100644 (file)
@@ -133,9 +133,11 @@ endif
 # 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