From 89ff87ec3b254939449ee9f7554b6857e5eb4bb9 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 13 Feb 2013 19:44:08 +0000 Subject: [PATCH] Use 'RC_XBS' instead of 'RC_BUILDIT' to catch all times when it's built in the Apple way. llvm-svn: 175069 --- llvm/Makefile.rules | 2 +- llvm/runtime/libprofile/Makefile | 2 +- llvm/tools/lto/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index 2f566ee..c737965 100644 --- a/llvm/Makefile.rules +++ b/llvm/Makefile.rules @@ -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 diff --git a/llvm/runtime/libprofile/Makefile b/llvm/runtime/libprofile/Makefile index 6e92253..44ea204 100644 --- a/llvm/runtime/libprofile/Makefile +++ b/llvm/runtime/libprofile/Makefile @@ -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) diff --git a/llvm/tools/lto/Makefile b/llvm/tools/lto/Makefile index 3610fed..ab2e16e 100644 --- a/llvm/tools/lto/Makefile +++ b/llvm/tools/lto/Makefile @@ -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) -- 2.7.4