[llvm-commits] [llvm] r109957 - in /llvm/trunk/tools: edis/Makefile llvm-shlib/Makefile lto/Makefile
Daniel Dunbar
daniel at zuster.org
Sat Jul 31 14:32:57 PDT 2010
Author: ddunbar
Date: Sat Jul 31 16:32:56 2010
New Revision: 109957
URL: http://llvm.org/viewvc/llvm-project?rev=109957&view=rev
Log:
build: Don't pass -avoid-version or -no-undefined on Darwin, they don't do
anything.
Modified:
llvm/trunk/tools/edis/Makefile
llvm/trunk/tools/llvm-shlib/Makefile
llvm/trunk/tools/lto/Makefile
Modified: llvm/trunk/tools/edis/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/edis/Makefile?rev=109957&r1=109956&r2=109957&view=diff
==============================================================================
--- llvm/trunk/tools/edis/Makefile (original)
+++ llvm/trunk/tools/edis/Makefile Sat Jul 31 16:32:56 2010
@@ -36,7 +36,6 @@
ifeq ($(HOST_OS),Darwin)
# extra options to override libtool defaults
LLVMLibsOptions := $(LLVMLibsOptions) \
- -avoid-version \
-Wl,-dead_strip
ifdef EDIS_VERSION
@@ -48,7 +47,7 @@
DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
ifneq ($(DARWIN_VERS),8)
LLVMLibsOptions := $(LLVMLibsOptions) \
- -no-undefined -Wl,-install_name \
+ -Wl,-install_name \
-Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
endif
endif
Modified: llvm/trunk/tools/llvm-shlib/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-shlib/Makefile?rev=109957&r1=109956&r2=109957&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-shlib/Makefile (original)
+++ llvm/trunk/tools/llvm-shlib/Makefile Sat Jul 31 16:32:56 2010
@@ -38,7 +38,6 @@
LLVMLibsOptions := $(LLVMLibsOptions) -all_load
# extra options to override libtool defaults
LLVMLibsOptions := $(LLVMLibsOptions) \
- -avoid-version \
-Wl,-dead_strip \
-Wl,-seg1addr -Wl,0xE0000000
Modified: llvm/trunk/tools/lto/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/Makefile?rev=109957&r1=109956&r2=109957&view=diff
==============================================================================
--- llvm/trunk/tools/lto/Makefile (original)
+++ llvm/trunk/tools/lto/Makefile Sat Jul 31 16:32:56 2010
@@ -41,7 +41,6 @@
endif
# extra options to override libtool defaults
LLVMLibsOptions := $(LLVMLibsOptions) \
- -avoid-version \
-Wl,-dead_strip \
-Wl,-seg1addr -Wl,0xE0000000
@@ -49,7 +48,7 @@
DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
ifneq ($(DARWIN_VERS),8)
LLVMLibsOptions := $(LLVMLibsOptions) \
- -no-undefined -Wl,-install_name \
+ -Wl,-install_name \
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
endif
endif
More information about the llvm-commits
mailing list