diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2013-12-27 22:39:28 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2013-12-27 22:39:28 +0000 |
| commit | 90a173750d7931f2e3456d3b979379e5b17b215c (patch) | |
| tree | eba42d5e6f0f35cf8108e1cdcdcaf2b7d4785781 | |
| parent | 47ba8fa7ecb40a0eaebb93045a2d83ccfbe794d7 (diff) | |
| download | bcm5719-llvm-90a173750d7931f2e3456d3b979379e5b17b215c.tar.gz bcm5719-llvm-90a173750d7931f2e3456d3b979379e5b17b215c.zip | |
Set NO_DEAD_STRIP for clang after llvm r198087.
llvm-svn: 198088
| -rw-r--r-- | clang/tools/driver/Makefile | 3 | ||||
| -rw-r--r-- | clang/tools/libclang/Makefile | 3 |
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) |

