Use 'RC_XBS' instead of 'RC_BUILDIT' to catch all times when it's built in the Apple way.
llvm-svn: 175070
This commit is contained in:
parent
89ff87ec3b
commit
41529c13c4
|
@ -57,7 +57,7 @@ ifeq ($(HOST_OS),Darwin)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# 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_XBS),YES)
|
||||||
TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/clang-lto.XXXXXX)
|
TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/clang-lto.XXXXXX)
|
||||||
LLVMLibsOptions += -Wl,-object_path_lto -Wl,$(TempFile)
|
LLVMLibsOptions += -Wl,-object_path_lto -Wl,$(TempFile)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue