summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-07-16 06:13:24 +0000
committerEric Christopher <echristo@apple.com>2010-07-16 06:13:24 +0000
commit384271b57ddc158236de0929863dfda4daf14851 (patch)
tree8f8ea94dbd128e01461a6e057a808338a3eae89b /Makefile.rules
parent74c740052a143027bbc2d14594d6188e2e597fa1 (diff)
downloadllvm-384271b57ddc158236de0929863dfda4daf14851.tar.gz
llvm-384271b57ddc158236de0929863dfda4daf14851.tar.bz2
llvm-384271b57ddc158236de0929863dfda4daf14851.tar.xz
Remove unnecessary conditional.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 44379ed943..6271bf51f7 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -622,7 +622,6 @@ endif
# Adjust linker flags for building an executable
ifneq ($(HOST_OS),Darwin)
-ifneq ($(DARWIN_MAJVERS),4)
ifdef TOOLNAME
LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
ifdef EXAMPLE_TOOL
@@ -631,7 +630,6 @@ ifdef TOOLNAME
LD.Flags += $(RPATH) -Wl,$(ToolDir) $(RDYNAMIC)
endif
endif
-endif
else
ifneq ($(DARWIN_MAJVERS),4)
LD.Flags += $(RPATH) -Wl,@executable_path/../lib