summaryrefslogtreecommitdiff
path: root/tools/edis
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-07-31 21:32:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-07-31 21:32:56 +0000
commitb259c01376b176f17fccf57bff28148590f7d744 (patch)
tree98c1317b8fefe6b084eece11c89c6089dfbd6786 /tools/edis
parent425f634917542d7f09c189e2eb130752c6a12d2c (diff)
downloadllvm-b259c01376b176f17fccf57bff28148590f7d744.tar.gz
llvm-b259c01376b176f17fccf57bff28148590f7d744.tar.bz2
llvm-b259c01376b176f17fccf57bff28148590f7d744.tar.xz
build: Don't pass -avoid-version or -no-undefined on Darwin, they don't do
anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/edis')
-rw-r--r--tools/edis/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/edis/Makefile b/tools/edis/Makefile
index ff0e1a57a3..92484bf0ac 100644
--- a/tools/edis/Makefile
+++ b/tools/edis/Makefile
@@ -36,7 +36,6 @@ include $(LEVEL)/Makefile.common
ifeq ($(HOST_OS),Darwin)
# extra options to override libtool defaults
LLVMLibsOptions := $(LLVMLibsOptions) \
- -avoid-version \
-Wl,-dead_strip
ifdef EDIS_VERSION
@@ -48,7 +47,7 @@ ifeq ($(HOST_OS),Darwin)
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