From 37c04a0d4d0df0e2efddcc76a1036a9fc384e61a Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 28 Feb 2014 13:48:03 +0000 Subject: Centralize the handling of install_name and rpath. This centralizes the Makefile handling of -install_name and -rpath. It also moves the cmake build to using @rpath. The reason being that libclang needs it, and it works for everything else. A followup patch will move clang to using this and then there will be a single point to edit to support other systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202499 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/lto/Makefile | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tools/lto') diff --git a/tools/lto/Makefile b/tools/lto/Makefile index 1cfff028f6..a4fe9ac77c 100644 --- a/tools/lto/Makefile +++ b/tools/lto/Makefile @@ -37,14 +37,6 @@ ifeq ($(HOST_OS),Darwin) -Wl,-compatibility_version -Wl,1 endif - # Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line - DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/') - ifneq ($(DARWIN_VERS),8) - LLVMLibsOptions := $(LLVMLibsOptions) \ - -Wl,-install_name \ - -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)" - endif - # If we're doing an Apple-style build, add the LTO object path. ifeq ($(RC_XBS),YES) TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX) -- cgit v1.2.3