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]
/
Makefile.rules
diff --git
a/Makefile.rules
b/Makefile.rules
index a52bb8029dc790c0e949378c99d8ece130e0a7f2..ddf4d33d2f88482ce3df9b49b85c001791f6e10d 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-645,7
+645,8
@@
else
LD.Flags += $(RPATH) -Wl,@executable_path/../lib
endif
ifeq ($(RC_BUILDIT),YES)
LD.Flags += $(RPATH) -Wl,@executable_path/../lib
endif
ifeq ($(RC_BUILDIT),YES)
- TempFile := $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX)
+ ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
+ TempFile := $(shell mktemp ${ObjDir}/llvm-lto.XXXXXX)
LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
endif
endif
LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
endif
endif