diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-15 20:54:25 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-15 20:54:25 +0000 |
commit | b16b53b181939fa6112498a00005d1df40d6de86 (patch) | |
tree | 9478ccad505c974ebf512e2012461ceeb8b2e0b3 /tools/edis/Makefile | |
parent | f27733f418f9b75c7f1feeab715accc3698ba12b (diff) |
Generalize the EXPORTED_SYMBOL_FILE concept in the Makefiles to work with
native linking export files, including running sed to prepend underscores
on darwin, and make use of it in libLTO and libEnhancedDisassembly.
Remove the leading underscores from library export files so that they
work with the new EXPORTED_SYMBOL_FILE support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/edis/Makefile')
-rw-r--r-- | tools/edis/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/edis/Makefile b/tools/edis/Makefile index 0ef0dce621..4f9d03aad6 100644 --- a/tools/edis/Makefile +++ b/tools/edis/Makefile @@ -12,6 +12,8 @@ LIBRARYNAME = EnhancedDisassembly BUILT_SOURCES = EDInfo.inc +EXPORTED_SYMBOL_FILE = EnhancedDisassembly.exports + # 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 @@ -32,7 +34,6 @@ ifeq ($(HOST_OS),Darwin) # extra options to override libtool defaults LLVMLibsOptions := $(LLVMLibsOptions) \ -avoid-version \ - -Wl,-exported_symbols_list -Wl,$(PROJ_SRC_DIR)/EnhancedDisassembly.exports \ -Wl,-dead_strip ifdef EDIS_VERSION |