1.1 --- a/scripts/build/cc/gcc.sh Tue May 31 21:03:03 2011 +0200
1.2 +++ b/scripts/build/cc/gcc.sh Tue May 31 01:30:54 2011 +0200
1.3 @@ -202,8 +202,8 @@
1.4 if [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" ]; then
1.5 # this is from CodeSourcery arm-2010q1-202-arm-none-linux-gnueabi.src.tar.bz2
1.6 # build script
1.7 - # FIXME: if the host gcc is gcc-4.5 then presumably we could use -static-libstdc++,
1.8 - # see http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01635.html
1.9 + # INFO: if the host gcc is gcc-4.5 then presumably we could use -static-libstdc++,
1.10 + # see http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01635.html
1.11 host_libstdcxx_flags+=("-static-libgcc")
1.12 host_libstdcxx_flags+=("-Wl,-Bstatic,-lstdc++,-Bdynamic")
1.13 host_libstdcxx_flags+=("-lm")
1.14 @@ -455,8 +455,8 @@
1.15 if [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" ]; then
1.16 # this is from CodeSourcery arm-2010q1-202-arm-none-linux-gnueabi.src.tar.bz2
1.17 # build script
1.18 - # FIXME: if the host gcc is gcc-4.5 then presumably we could use -static-libstdc++,
1.19 - # see http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01635.html
1.20 + # INFO: if the host gcc is gcc-4.5 then presumably we could use -static-libstdc++,
1.21 + # see http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01635.html
1.22 host_libstdcxx_flags+=("-static-libgcc")
1.23 host_libstdcxx_flags+=("-Wl,-Bstatic,-lstdc++,-Bdynamic")
1.24 host_libstdcxx_flags+=("-lm")