projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a special path to place the .o files in.
[oota-llvm.git]
/
runtime
/
libprofile
/
Makefile
diff --git
a/runtime/libprofile/Makefile
b/runtime/libprofile/Makefile
index 1ea08953387f932377e6cca2a6d9ec0dc6cdbcd6..e9b220cf2ff0ecff833c3768fd5e988ece43969e 100644
(file)
--- a/
runtime/libprofile/Makefile
+++ b/
runtime/libprofile/Makefile
@@
-51,7
+51,8
@@
ifeq ($(HOST_OS),Darwin)
# If we're doing an Apple-style build, add the LTO object path.
ifeq ($(RC_BUILDIT),YES)
# 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)
+ ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
+ TempFile := $(shell mktemp ${ObjDir}/profile_rt-lto.XXXXXX)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-object_path_lto -Wl,$(TempFile)
endif
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-object_path_lto -Wl,$(TempFile)
endif