llvm.org GIT mirror llvm / e57cb73
Use a special path to place the .o files in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165428 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 8 years ago
3 changed file(s) with 6 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
644644 LD.Flags += $(RPATH) -Wl,@executable_path/../lib
645645 endif
646646 ifeq ($(RC_BUILDIT),YES)
647 TempFile := $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX)
647 ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
648 TempFile := $(shell mktemp ${ObjDir}/llvm-lto.XXXXXX)
648649 LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
649650 endif
650651 endif
5050
5151 # If we're doing an Apple-style build, add the LTO object path.
5252 ifeq ($(RC_BUILDIT),YES)
53 TempFile = $(shell mktemp ${OBJROOT}/profile_rt-lto.XXXXXX)
53 ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
54 TempFile := $(shell mktemp ${ObjDir}/profile_rt-lto.XXXXXX)
5455 LLVMLibsOptions := $(LLVMLibsOptions) \
5556 -Wl,-object_path_lto -Wl,$(TempFile)
5657 endif
5151
5252 # If we're doing an Apple-style build, add the LTO object path.
5353 ifeq ($(RC_BUILDIT),YES)
54 TempFile = $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX)
54 ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
55 TempFile := $(shell mktemp ${ObjDir}/llvm-lto.XXXXXX)
5556 LLVMLibsOptions := $(LLVMLibsOptions) \
5657 -Wl,-object_path_lto -Wl,$(TempFile)
5758 endif