http://llvm.org/bugs/show_bug.cgi?id=10045 . Please review, I have not tested this on linux.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@132287 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2011-05-29 13:57:49 +00:00
parent ad1a5cc5f0
commit d5fed03778

View File

@ -35,6 +35,8 @@ then
RC_ProjectSourceVersion=1 RC_ProjectSourceVersion=1
fi fi
EXTRA_FLAGS="-std=c++0x "
case $TRIPLE in case $TRIPLE in
*-apple-*) *-apple-*)
if [ -z $RC_XBS ] if [ -z $RC_XBS ]
@ -53,7 +55,6 @@ case $TRIPLE in
-Wl,-unexported_symbols_list,libc++unexp.exp \ -Wl,-unexported_symbols_list,libc++unexp.exp \
/usr/lib/libSystem.B.dylib" /usr/lib/libSystem.B.dylib"
else else
EXTRA_FLAGS="-std=c++0x "
RE_EXPORT_FILE="libc++abi.exp" RE_EXPORT_FILE="libc++abi.exp"
if [ -n "$SDKROOT" ] if [ -n "$SDKROOT" ]
then then
@ -81,7 +82,7 @@ case $TRIPLE in
SOEXT=so SOEXT=so
LDSHARED_FLAGS="-o libc++.so.1.0 \ LDSHARED_FLAGS="-o libc++.so.1.0 \
-shared -nodefaultlibs -Wl,-soname,libc++.so.1 \ -shared -nodefaultlibs -Wl,-soname,libc++.so.1 \
-lpthread -lrt -lc" -lpthread -lrt -lc -lstdc++"
;; ;;
esac esac