summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index 82998793654..a048f941ad1 100644
--- a/llvm/Makefile.rules
+++ b/llvm/Makefile.rules
@@ -433,7 +433,7 @@ ifndef KEEP_SYMBOLS
endif
# Adjust linker flags for building an executable
-ifndef ($(OS),Darwin)
+ifneq ($(OS),Darwin)
ifdef TOOLNAME
ifdef EXAMPLE_TOOL
LD.Flags += -Wl,-rpath -Wl,$(ExmplDir) -export-dynamic
OpenPOWER on IntegriCloud