mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Make the export files absolute paths, and change Makefile.rules
to expect them this way, to fix srcdir!=objdir builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101414 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d675f1308
commit
7c52f2ee06
@ -978,7 +978,7 @@ ifdef EXPORTED_SYMBOL_FILE
|
||||
|
||||
ifeq ($(HOST_OS),Darwin)
|
||||
# Darwin convention prefixes symbols with underscores.
|
||||
NativeExportsFile := $(ObjDir)/$(EXPORTED_SYMBOL_FILE).sed
|
||||
NativeExportsFile := $(ObjDir)/$(notdir $(EXPORTED_SYMBOL_FILE)).sed
|
||||
$(NativeExportsFile): $(EXPORTED_SYMBOL_FILE) $(ObjDir)/.dir
|
||||
$(Verb) sed -e 's/[[:<:]]/_/' < $< > $@
|
||||
clean-local::
|
||||
|
@ -17,6 +17,6 @@ SHARED_LIBRARY = 1
|
||||
LOADABLE_MODULE = 1
|
||||
LIBRARYNAME = profile_rt
|
||||
EXTRA_DIST = exported_symbols.lst
|
||||
EXPORTED_SYMBOL_FILE = exported_symbols.lst
|
||||
EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/exported_symbols.lst
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
@ -12,7 +12,7 @@ LIBRARYNAME = EnhancedDisassembly
|
||||
|
||||
BUILT_SOURCES = EDInfo.inc
|
||||
|
||||
EXPORTED_SYMBOL_FILE = EnhancedDisassembly.exports
|
||||
EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/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
|
||||
|
@ -10,7 +10,7 @@
|
||||
LEVEL = ../..
|
||||
LIBRARYNAME = LTO
|
||||
|
||||
EXPORTED_SYMBOL_FILE = lto.exports
|
||||
EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/lto.exports
|
||||
|
||||
# Include this here so we can get the configuration of the targets
|
||||
# that have been configured for construction. We have to do this
|
||||
|
Loading…
Reference in New Issue
Block a user