From 5ca1dc15a1cb072442d2b1070e8b6cfa34b0a87a Mon Sep 17 00:00:00 2001 From: Tim Murray Date: Thu, 24 Jul 2014 14:42:53 -0700 Subject: [PATCH] Fix Windows SDK build to not use clang. bug 16172793 Change-Id: I7bf76cae49ec17bf50eb657b0e38234b7cb55e85 --- core/binary.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/binary.mk b/core/binary.mk index ac7e14f7e8..5f0b043238 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -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