blob: 0d94cbb213e18f1da21395d5e2a585c9e62d2756 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
diff -ur libcxx-9999.old//lib/buildit libcxx-9999/lib/buildit
--- libcxx-9999.old//lib/buildit 2011-05-29 15:29:51.179000188 +0300
+++ libcxx-9999/lib/buildit 2011-05-29 15:30:45.546000188 +0300
@@ -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
|