diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-10 05:29:15 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-10 05:29:15 +0000 |
commit | c33b9304dada40806f875b482d003b5c7b8f9c22 (patch) | |
tree | 4abe70d52ca55cbe8ce65b15bf0493f634379128 /tools/lto | |
parent | f5e6d70f8c8f21e744a10fd463cdeddae31cbab5 (diff) | |
download | external_llvm-c33b9304dada40806f875b482d003b5c7b8f9c22.zip external_llvm-c33b9304dada40806f875b482d003b5c7b8f9c22.tar.gz external_llvm-c33b9304dada40806f875b482d003b5c7b8f9c22.tar.bz2 |
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
Diffstat (limited to 'tools/lto')
-rw-r--r-- | tools/lto/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lto/Makefile b/tools/lto/Makefile index 3e7621f..3610fed 100644 --- a/tools/lto/Makefile +++ b/tools/lto/Makefile @@ -52,8 +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) - LLVMLibsOptions := $(LLVMLibsOptions) \ - -Wl,-object_path_lto -Wl,$(TempFile) + TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX) + LLVMLibsOptions := $(LLVMLibsOptions) \ + -Wl,-object_path_lto -Wl,$(TempFile) endif endif |