The attached patches attempt to fix cross builds. For example, if you
[oota-llvm.git] / lib / Transforms / Makefile
index 5fe1eeb5c75238085fd4e2c610750baff8039804..025d02ad30737fdba577989577fed63004da7456 100644 (file)
@@ -13,7 +13,7 @@ PARALLEL_DIRS = Utils Instrumentation Scalar IPO Hello
 include $(LEVEL)/Makefile.config
 
 # No support for plugins on windows targets
-ifeq ($(OS), $(filter $(OS), Cygwin MingW))
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
   PARALLEL_DIRS := $(filter-out Hello, $(PARALLEL_DIRS))
 endif