summaryrefslogtreecommitdiffstats
path: root/tools/lto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lto/Makefile')
-rw-r--r--tools/lto/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/Makefile b/tools/lto/Makefile
index c8ad9fe..3120aa5 100644
--- a/tools/lto/Makefile
+++ b/tools/lto/Makefile
@@ -22,7 +22,7 @@ LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
include $(LEVEL)/Makefile.common
-ifeq ($(OS),Darwin)
+ifeq ($(HOST_OS),Darwin)
# set dylib internal version number to llvmCore submission number
ifdef LLVM_SUBMIT_VERSION
LLVMLibsOptions := $(LLVMLibsOptions) -Wl,-current_version \
OpenPOWER on IntegriCloud