summaryrefslogtreecommitdiffstats
path: root/clang/tools
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-13 19:44:17 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-13 19:44:17 +0000
commit41529c13c4b45f56477c8f628f9cd3ece7a9165b (patch)
treeca5bdf9be9b5da3ea546b4595a34596326e3f054 /clang/tools
parent89ff87ec3b254939449ee9f7554b6857e5eb4bb9 (diff)
downloadbcm5719-llvm-41529c13c4b45f56477c8f628f9cd3ece7a9165b.tar.gz
bcm5719-llvm-41529c13c4b45f56477c8f628f9cd3ece7a9165b.zip
Use 'RC_XBS' instead of 'RC_BUILDIT' to catch all times when it's built in the Apple way.
llvm-svn: 175070
Diffstat (limited to 'clang/tools')
-rw-r--r--clang/tools/libclang/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/libclang/Makefile b/clang/tools/libclang/Makefile
index 53aec697010..f33f345f94f 100644
--- a/clang/tools/libclang/Makefile
+++ b/clang/tools/libclang/Makefile
@@ -57,7 +57,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/clang-lto.XXXXXX)
LLVMLibsOptions += -Wl,-object_path_lto -Wl,$(TempFile)
endif
OpenPOWER on IntegriCloud