Skip to content

Commit

Permalink
Use 'RC_XBS' instead of 'RC_BUILDIT' to catch all times when it's bui…
Browse files Browse the repository at this point in the history
…lt in the Apple way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175069 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
isanbard committed Feb 13, 2013
1 parent ecb8c2b commit ee740dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ else
ifneq ($(DARWIN_MAJVERS),4)
LD.Flags += $(RPATH) -Wl,@executable_path/../lib
endif
ifeq ($(RC_BUILDIT),YES)
ifeq ($(RC_XBS),YES)
TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX)
LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
endif
Expand Down
2 changes: 1 addition & 1 deletion runtime/libprofile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ifeq ($(HOST_OS),Darwin)
endif

# 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/profile_rt-lto.XXXXXX)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-object_path_lto -Wl,$(TempFile)
Expand Down
2 changes: 1 addition & 1 deletion tools/lto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ifeq ($(HOST_OS),Darwin)
endif

# 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/llvm-lto.XXXXXX)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-object_path_lto -Wl,$(TempFile)
Expand Down

0 comments on commit ee740dd

Please sign in to comment.