summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-13 19:44:08 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-13 19:44:08 +0000
commitee740ddf9d8248e39032567dc22766b0f8b45cd6 (patch)
treed192168475ea201bdb83dc04b9fd7281beee4cec /runtime
parentecb8c2ba6029f02b01b20b110cc1b3b3ea2e1f1c (diff)
downloadllvm-ee740ddf9d8248e39032567dc22766b0f8b45cd6.tar.gz
llvm-ee740ddf9d8248e39032567dc22766b0f8b45cd6.tar.bz2
llvm-ee740ddf9d8248e39032567dc22766b0f8b45cd6.tar.xz
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
Diffstat (limited to 'runtime')
-rw-r--r--runtime/libprofile/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile
index 6e9225382a..44ea204bcf 100644
--- a/runtime/libprofile/Makefile
+++ b/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)