[cfe-commits] [libcxx] r132287 - /libcxx/trunk/lib/buildit
Howard Hinnant
hhinnant at apple.com
Sun May 29 06:57:49 PDT 2011
Author: hhinnant
Date: Sun May 29 08:57:49 2011
New Revision: 132287
URL: http://llvm.org/viewvc/llvm-project?rev=132287&view=rev
Log:
http://llvm.org/bugs/show_bug.cgi?id=10045 . Please review, I have not tested this on linux.
Modified:
libcxx/trunk/lib/buildit
Modified: libcxx/trunk/lib/buildit
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/lib/buildit?rev=132287&r1=132286&r2=132287&view=diff
==============================================================================
--- libcxx/trunk/lib/buildit (original)
+++ libcxx/trunk/lib/buildit Sun May 29 08:57:49 2011
@@ -35,6 +35,8 @@
RC_ProjectSourceVersion=1
fi
+EXTRA_FLAGS="-std=c++0x "
+
case $TRIPLE in
*-apple-*)
if [ -z $RC_XBS ]
@@ -53,7 +55,6 @@
-Wl,-unexported_symbols_list,libc++unexp.exp \
/usr/lib/libSystem.B.dylib"
else
- EXTRA_FLAGS="-std=c++0x "
RE_EXPORT_FILE="libc++abi.exp"
if [ -n "$SDKROOT" ]
then
@@ -81,7 +82,7 @@
SOEXT=so
LDSHARED_FLAGS="-o libc++.so.1.0 \
-shared -nodefaultlibs -Wl,-soname,libc++.so.1 \
- -lpthread -lrt -lc"
+ -lpthread -lrt -lc -lstdc++"
;;
esac
More information about the cfe-commits
mailing list