Place temporary LTO files into their own subdirectory.
llvm-svn: 165600
This commit is contained in:
parent
ff4ddaa9d2
commit
59068d1302
|
@ -55,7 +55,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}/clang-lto.XXXXXX)
|
||||
TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/clang-lto.XXXXXX)
|
||||
LLVMLibsOptions += -Wl,-object_path_lto -Wl,$(TempFile)
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue