diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-05-29 13:57:49 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-05-29 13:57:49 +0000 |
commit | 28d55e0745d06c24f0957f97c6f7517de27345be (patch) | |
tree | d8ad8df2f955970ef25fbb3d4053a81692a219e2 /libcxx | |
parent | af152c8431155705dd5b03199422fe28689eb038 (diff) | |
download | bcm5719-llvm-28d55e0745d06c24f0957f97c6f7517de27345be.tar.gz bcm5719-llvm-28d55e0745d06c24f0957f97c6f7517de27345be.zip |
http://llvm.org/bugs/show_bug.cgi?id=10045 . Please review, I have not tested this on linux.
llvm-svn: 132287
Diffstat (limited to 'libcxx')
-rwxr-xr-x | libcxx/lib/buildit | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libcxx/lib/buildit b/libcxx/lib/buildit index 643339afa0f..5961a3886c8 100755 --- a/libcxx/lib/buildit +++ b/libcxx/lib/buildit @@ -35,6 +35,8 @@ then RC_ProjectSourceVersion=1 fi +EXTRA_FLAGS="-std=c++0x " + case $TRIPLE in *-apple-*) if [ -z $RC_XBS ] @@ -53,7 +55,6 @@ case $TRIPLE in -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 @@ case $TRIPLE in SOEXT=so LDSHARED_FLAGS="-o libc++.so.1.0 \ -shared -nodefaultlibs -Wl,-soname,libc++.so.1 \ - -lpthread -lrt -lc" + -lpthread -lrt -lc -lstdc++" ;; esac |