summaryrefslogtreecommitdiffstats
path: root/llvm/runtime
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
commitff4ddaa9d2adf23db64ae1aa0cc3956a1d1b656d (patch)
tree10a4910b308fdebf00f3be61badaa53553bf6f8e /llvm/runtime
parenta72778119ee42ec636d01366a53daa59b5b82353 (diff)
downloadbcm5719-llvm-ff4ddaa9d2adf23db64ae1aa0cc3956a1d1b656d.tar.gz
bcm5719-llvm-ff4ddaa9d2adf23db64ae1aa0cc3956a1d1b656d.zip
Place temporary LTO files into their own subdirectory.
llvm-svn: 165599
Diffstat (limited to 'llvm/runtime')
-rw-r--r--llvm/runtime/libprofile/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/runtime/libprofile/Makefile b/llvm/runtime/libprofile/Makefile
index 1ea08953387..6e9225382a9 100644
--- a/llvm/runtime/libprofile/Makefile
+++ b/llvm/runtime/libprofile/Makefile
@@ -51,7 +51,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}/profile_rt-lto.XXXXXX)
+ TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/profile_rt-lto.XXXXXX)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-object_path_lto -Wl,$(TempFile)
endif
OpenPOWER on IntegriCloud