change RC_BUILDIT to RC_XBS for detecting Apple build environment
llvm-svn: 130970
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: f9ad245c900d0c964be7ef0972b5465db0a2ae5f
diff --git a/lib/buildit b/lib/buildit
index 6856518..291c363 100755
--- a/lib/buildit
+++ b/lib/buildit
@@ -34,7 +34,7 @@
case $TRIPLE in
*-apple-*)
- if [ -z $RC_BUILDIT ]
+ if [ -z $RC_XBS ]
then
RC_CFLAGS="-arch i386 -arch x86_64"
fi
@@ -79,7 +79,7 @@
;;
esac
-if [ -z $RC_BUILDIT ]
+if [ -z $RC_XBS ]
then
rm -f libc++.1.$SOEXT*
fi
@@ -95,7 +95,7 @@
#libtool -static -o libc++.a *.o
-if [ -z $RC_BUILDIT ]
+if [ -z $RC_XBS ]
then
rm *.o
fi