summaryrefslogtreecommitdiffstats
path: root/lldb/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-10-31 22:50:30 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-10-31 22:50:30 +0000
commitd56f63f06cbd3b377e505c1fcb3a3d620b280519 (patch)
tree3db5f75ea5237c0a0488e689b67529b10f6f73e4 /lldb/lib
parente6fb049d3dfe5514a5b116cdb4291eb9d6cd43e7 (diff)
downloadbcm5719-llvm-d56f63f06cbd3b377e505c1fcb3a3d620b280519.tar.gz
bcm5719-llvm-d56f63f06cbd3b377e505c1fcb3a3d620b280519.zip
build: Fix Darwin linker flags which weren't properly passed (and aren't valid).
llvm-svn: 143377
Diffstat (limited to 'lldb/lib')
-rw-r--r--lldb/lib/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile
index cd1013d6f4f..60543369746 100644
--- a/lldb/lib/Makefile
+++ b/lldb/lib/Makefile
@@ -102,7 +102,6 @@ ifeq ($(HOST_OS),Darwin)
-Wl,-compatibility_version -Wl,1
endif
# extra options to override libtool defaults
- LLVMLibsOptions += -avoid-version
LLVMLibsOptions += -F/System/Library/Frameworks -F/System/Library/PrivateFrameworks
LLVMLibsOptions += -framework Foundation -framework CoreFoundation
LLVMLibsOptions += -framework CoreServices -framework Carbon
@@ -111,7 +110,7 @@ ifeq ($(HOST_OS),Darwin)
# 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 += -no-undefined -Wl,-install_name \
+ LLVMLibsOptions += -Wl,-install_name \
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
endif
endif
OpenPOWER on IntegriCloud