forked from OSchip/llvm-project
Set NO_DEAD_STRIP for clang after llvm r198087.
llvm-svn: 198088
This commit is contained in:
parent
47ba8fa7ec
commit
90a173750d
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue