Set NO_DEAD_STRIP for clang after llvm r198087.

llvm-svn: 198088
This commit is contained in:
Nico Weber 2013-12-27 22:39:28 +00:00
parent 47ba8fa7ec
commit 90a173750d
2 changed files with 3 additions and 3 deletions

View File

@ -24,6 +24,9 @@ endif
# Include tool version information on OS X.
TOOL_INFO_PLIST := Info.plist
# Support plugins.
NO_DEAD_STRIP := 1
# Include this here so we can get the configuration of the targets that have
# been configured for construction. We have to do this early so we can set up
# LINK_COMPONENTS before including Makefile.rules

View File

@ -47,9 +47,6 @@ ifeq ($(HOST_OS),Darwin)
-Wl,$(LLVM_SUBMIT_VERSION).$(LLVM_SUBMIT_SUBVERSION)
endif
# Extra options to override libtool defaults.
LLVMLibsOptions += -Wl,-dead_strip
# 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)