change RC_BUILDIT to RC_XBS for detecting Apple build environment
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@130970 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ffadfd4c1e
commit
d982028b92
@ -34,7 +34,7 @@ fi
|
|||||||
|
|
||||||
case $TRIPLE in
|
case $TRIPLE in
|
||||||
*-apple-*)
|
*-apple-*)
|
||||||
if [ -z $RC_BUILDIT ]
|
if [ -z $RC_XBS ]
|
||||||
then
|
then
|
||||||
RC_CFLAGS="-arch i386 -arch x86_64"
|
RC_CFLAGS="-arch i386 -arch x86_64"
|
||||||
fi
|
fi
|
||||||
@ -79,7 +79,7 @@ case $TRIPLE in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -z $RC_BUILDIT ]
|
if [ -z $RC_XBS ]
|
||||||
then
|
then
|
||||||
rm -f libc++.1.$SOEXT*
|
rm -f libc++.1.$SOEXT*
|
||||||
fi
|
fi
|
||||||
@ -95,7 +95,7 @@ $CC *.o $RC_CFLAGS $LDSHARED_FLAGS $EXTRA_FLAGS
|
|||||||
|
|
||||||
#libtool -static -o libc++.a *.o
|
#libtool -static -o libc++.a *.o
|
||||||
|
|
||||||
if [ -z $RC_BUILDIT ]
|
if [ -z $RC_XBS ]
|
||||||
then
|
then
|
||||||
rm *.o
|
rm *.o
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user