diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-08 21:17:45 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-08 21:17:45 +0000 |
commit | e57cb731532cfe91788823cd5b5b847311bd3920 (patch) | |
tree | a6aae940bc1ae3d448ef9048ca0e90693454736e /Makefile.rules | |
parent | c56e3f0cdde9b5e3f8222ece7b5968ae9961955e (diff) |
Use a special path to place the .o files in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index a52bb8029d..ddf4d33d2f 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -645,7 +645,8 @@ else 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 |