The attached patches attempt to fix cross builds. For example, if you
[oota-llvm.git] / utils / unittest / googletest / Makefile
index 8366055944c7396e42c07f7c9ceb8d786c836c34..2e0bf72a62a1681078ffd6335e9536e16cbd166a 100644 (file)
@@ -18,7 +18,7 @@ BUILD_ARCHIVE = 1
 CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include
 CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS)
 
-ifeq ($(OS),MingW)
+ifeq ($(HOST_OS),MingW)
   CPP.Flags += -DGTEST_OS_WINDOWS=1
 endif