mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 08:51:43 +00:00
Use a special path to place the .o files in.
llvm-svn: 165428
This commit is contained in:
parent
796c6fc576
commit
0d7223be5c
@ -645,7 +645,8 @@ else
|
||||
LD.Flags += $(RPATH) -Wl,@executable_path/../lib
|
||||
endif
|
||||
ifeq ($(RC_BUILDIT),YES)
|
||||
TempFile := $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX)
|
||||
ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
|
||||
TempFile := $(shell mktemp ${ObjDir}/llvm-lto.XXXXXX)
|
||||
LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
|
||||
endif
|
||||
endif
|
||||
|
@ -51,7 +51,8 @@ ifeq ($(HOST_OS),Darwin)
|
||||
|
||||
# If we're doing an Apple-style build, add the LTO object path.
|
||||
ifeq ($(RC_BUILDIT),YES)
|
||||
TempFile = $(shell mktemp ${OBJROOT}/profile_rt-lto.XXXXXX)
|
||||
ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
|
||||
TempFile := $(shell mktemp ${ObjDir}/profile_rt-lto.XXXXXX)
|
||||
LLVMLibsOptions := $(LLVMLibsOptions) \
|
||||
-Wl,-object_path_lto -Wl,$(TempFile)
|
||||
endif
|
||||
|
@ -52,7 +52,8 @@ ifeq ($(HOST_OS),Darwin)
|
||||
|
||||
# If we're doing an Apple-style build, add the LTO object path.
|
||||
ifeq ($(RC_BUILDIT),YES)
|
||||
TempFile = $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX)
|
||||
ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
|
||||
TempFile := $(shell mktemp ${ObjDir}/llvm-lto.XXXXXX)
|
||||
LLVMLibsOptions := $(LLVMLibsOptions) \
|
||||
-Wl,-object_path_lto -Wl,$(TempFile)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user