summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-10 05:29:15 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-10 05:29:15 +0000
commitc33b9304dada40806f875b482d003b5c7b8f9c22 (patch)
tree4abe70d52ca55cbe8ce65b15bf0493f634379128 /Makefile.rules
parentf5e6d70f8c8f21e744a10fd463cdeddae31cbab5 (diff)
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 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index a52bb8029dc..b929ffea59f 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -645,7 +645,7 @@ else
LD.Flags += $(RPATH) -Wl,@executable_path/../lib
endif
ifeq ($(RC_BUILDIT),YES)
- TempFile := $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX)
+ TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX)
LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
endif
endif