Place temporary LTO files into their own subdirectory.

llvm-svn: 165600
This commit is contained in:
Bill Wendling 2012-10-10 05:30:49 +00:00
parent ff4ddaa9d2
commit 59068d1302
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ 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}/clang-lto.XXXXXX)
TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/clang-lto.XXXXXX)
LLVMLibsOptions += -Wl,-object_path_lto -Wl,$(TempFile)
endif
endif