llvm.org GIT mirror llvm / c33b930
Place temporary LTO files into their own subdirectory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165599 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 8 years ago
3 changed file(s) with 5 addition(s) and 5 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 TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX)
648648 LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
649649 endif
650650 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 TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/profile_rt-lto.XXXXXX)
5454 LLVMLibsOptions := $(LLVMLibsOptions) \
5555 -Wl,-object_path_lto -Wl,$(TempFile)
5656 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)
55 LLVMLibsOptions := $(LLVMLibsOptions) \
56 -Wl,-object_path_lto -Wl,$(TempFile)
54 TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX)
55 LLVMLibsOptions := $(LLVMLibsOptions) \
56 -Wl,-object_path_lto -Wl,$(TempFile)
5757 endif
5858 endif