Remove redundant rpath.

These are not needed since we added the $ORIGIN based rpath.

Fixes pr12517.

llvm-svn: 182559
This commit is contained in:
Rafael Espindola 2013-05-23 02:53:22 +00:00
parent 1250a307f6
commit d02e7e5693
1 changed files with 1 additions and 6 deletions

View File

@ -639,12 +639,7 @@ endif
ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
ifneq ($(HOST_OS), Darwin)
ifdef TOOLNAME
LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
ifdef EXAMPLE_TOOL
LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(DynamicFlag)
else
LD.Flags += $(RPATH) -Wl,$(ToolDir) $(DynamicFlag)
endif
LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib' $(DynamicFlag)
endif
else
ifneq ($(DARWIN_MAJVERS),4)