summaryrefslogtreecommitdiffstats
path: root/core/envsetup.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-08-08 03:26:07 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-08 03:26:07 +0000
commit5a5d443f156fb61a365773d617e5d2747eeea26d (patch)
tree2761f05599d3cb22ac3e6edd1978fa3bf556cfb2 /core/envsetup.mk
parent493c61af6a6d877b4e0ab6b6a385b665b3bc81a7 (diff)
parent8ac188ff0e739ea75ea02166c54428245200f088 (diff)
downloadbuild-5a5d443f156fb61a365773d617e5d2747eeea26d.zip
build-5a5d443f156fb61a365773d617e5d2747eeea26d.tar.gz
build-5a5d443f156fb61a365773d617e5d2747eeea26d.tar.bz2
am 8ac188ff: am 6dbbb159: Merge "Consistent use of USE_MINGW"
* commit '8ac188ff0e739ea75ea02166c54428245200f088': Consistent use of USE_MINGW
Diffstat (limited to 'core/envsetup.mk')
-rw-r--r--core/envsetup.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/envsetup.mk b/core/envsetup.mk
index 96044b3..fe995e4 100644
--- a/core/envsetup.mk
+++ b/core/envsetup.mk
@@ -58,7 +58,7 @@ BUILD_OS := $(HOST_OS)
# Under Linux, if USE_MINGW is set, we change HOST_OS to Windows to build the
# Windows SDK. Only a subset of tools and SDK will manage to build properly.
ifeq ($(HOST_OS),linux)
-ifneq ($(USE_MINGW),)
+ifdef USE_MINGW
HOST_OS := windows
endif
endif