summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/tools/driver/Makefile3
-rw-r--r--clang/tools/libclang/Makefile3
2 files changed, 3 insertions, 3 deletions
diff --git a/clang/tools/driver/Makefile b/clang/tools/driver/Makefile
index 562b902d837..c12891805d2 100644
--- a/clang/tools/driver/Makefile
+++ b/clang/tools/driver/Makefile
@@ -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
diff --git a/clang/tools/libclang/Makefile b/clang/tools/libclang/Makefile
index 5b49dc06fe6..dfd26dcff2d 100644
--- a/clang/tools/libclang/Makefile
+++ b/clang/tools/libclang/Makefile
@@ -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)
OpenPOWER on IntegriCloud