r198088 - Set NO_DEAD_STRIP for clang after llvm r198087.
Nico Weber
nicolasweber at gmx.de
Fri Dec 27 14:39:28 PST 2013
Author: nico
Date: Fri Dec 27 16:39:28 2013
New Revision: 198088
URL: http://llvm.org/viewvc/llvm-project?rev=198088&view=rev
Log:
Set NO_DEAD_STRIP for clang after llvm r198087.
Modified:
cfe/trunk/tools/driver/Makefile
cfe/trunk/tools/libclang/Makefile
Modified: cfe/trunk/tools/driver/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/Makefile?rev=198088&r1=198087&r2=198088&view=diff
==============================================================================
--- cfe/trunk/tools/driver/Makefile (original)
+++ cfe/trunk/tools/driver/Makefile Fri Dec 27 16:39:28 2013
@@ -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
Modified: cfe/trunk/tools/libclang/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/Makefile?rev=198088&r1=198087&r2=198088&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/Makefile (original)
+++ cfe/trunk/tools/libclang/Makefile Fri Dec 27 16:39:28 2013
@@ -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)
More information about the cfe-commits
mailing list