forked from OSchip/llvm-project
Use a special path to place the .o files in.
llvm-svn: 165429
This commit is contained in:
parent
03783ff3d8
commit
99b0092a40
|
@ -55,7 +55,8 @@ ifeq ($(HOST_OS),Darwin)
|
||||||
|
|
||||||
# If we're doing an Apple-style build, add the LTO object path.
|
# If we're doing an Apple-style build, add the LTO object path.
|
||||||
ifeq ($(RC_BUILDIT),YES)
|
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)
|
LLVMLibsOptions += -Wl,-object_path_lto -Wl,$(TempFile)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue