Use a special path to place the .o files in.

llvm-svn: 165429
This commit is contained in:
Bill Wendling 2012-10-08 21:17:59 +00:00
parent 03783ff3d8
commit 99b0092a40
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ 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}/clang-lto.XXXXXX)
ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
TempFile := $(shell mktemp ${ObjDir}/clang-lto.XXXXXX)
LLVMLibsOptions += -Wl,-object_path_lto -Wl,$(TempFile)
endif
endif