1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Fix for builds with separate source and build

directories (like, oh, say, any multistage build)

llvm-svn: 95028
This commit is contained in:
Sean Callanan 2010-02-01 23:27:57 +00:00
parent 9e9e599070
commit 69ecef0859

View File

@ -34,7 +34,7 @@ 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,-exported_symbols_list -Wl,EnhancedDisassembly.exports \
-Wl,-dead_strip \
-Wl,-seg1addr -Wl,0xE0000000
@ -55,11 +55,11 @@ EnhancedDisassembly.exports: EnhancedDisassembly.exports.noblocks EnhancedDisass
$(Echo) "Copying exports file"
ifeq ($(HOST_OS),Darwin)
$(Verb) if [ $(DARWIN_VERS) -ge 10 ] ; \
then $(CP) -f EnhancedDisassembly.exports.blocks EnhancedDisassembly.exports ; \
else $(CP) -f EnhancedDisassembly.exports.noblocks EnhancedDisassembly.exports ; \
then $(CP) -f $(PROJ_SRC_DIR)/EnhancedDisassembly.exports.blocks EnhancedDisassembly.exports ; \
else $(CP) -f $(PROJ_SRC_DIR)/EnhancedDisassembly.exports.noblocks EnhancedDisassembly.exports ; \
fi
else
$(Verb) $(CP) -f EnhancedDisassembly.exports.noblocks EnhancedDisassembly.exports
$(Verb) $(CP) -f $(PROJ_SRC_DIR)/EnhancedDisassembly.exports.noblocks EnhancedDisassembly.exports
endif
clean::