aboutsummaryrefslogtreecommitdiff
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
commit778749aa7c2ed73ffeb60065dc015ed62127c8e1 (patch)
treec502f4404e7a197c05e661a7f97649840fd889e9
parent42f458d164cbbee23e55e874b6cee7026ca721ca (diff)
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/cfe/trunk@175070 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/libclang/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/Makefile b/tools/libclang/Makefile
index 53aec69701..f33f345f94 100644
--- a/tools/libclang/Makefile
+++ b/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