aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-10 05:30:49 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-10 05:30:49 +0000
commitd34eca2a5b54d36c196b4f663f397fc6ea583b9b (patch)
tree0bee33dae72c5ed053ddf648722f335d745761a1 /tools
parentfac631052809b59c1b66f687c08a743de7fb50e9 (diff)
Place temporary LTO files into their own subdirectory.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/libclang/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/Makefile b/tools/libclang/Makefile
index 5fdfd0ebb5..93f63cf86c 100644
--- a/tools/libclang/Makefile
+++ b/tools/libclang/Makefile
@@ -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