llvm.org GIT mirror llvm / ee740dd
Use 'RC_XBS' instead of 'RC_BUILDIT' to catch all times when it's built in the Apple way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175069 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 6 years ago
3 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
655655 ifneq ($(DARWIN_MAJVERS),4)
656656 LD.Flags += $(RPATH) -Wl,@executable_path/../lib
657657 endif
658 ifeq ($(RC_BUILDIT),YES)
658 ifeq ($(RC_XBS),YES)
659659 TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX)
660660 LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
661661 endif
4949 endif
5050
5151 # If we're doing an Apple-style build, add the LTO object path.
52 ifeq ($(RC_BUILDIT),YES)
52 ifeq ($(RC_XBS),YES)
5353 TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/profile_rt-lto.XXXXXX)
5454 LLVMLibsOptions := $(LLVMLibsOptions) \
5555 -Wl,-object_path_lto -Wl,$(TempFile)
5050 endif
5151
5252 # If we're doing an Apple-style build, add the LTO object path.
53 ifeq ($(RC_BUILDIT),YES)
53 ifeq ($(RC_XBS),YES)
5454 TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX)
5555 LLVMLibsOptions := $(LLVMLibsOptions) \
5656 -Wl,-object_path_lto -Wl,$(TempFile)