mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
cc/gcc: fix a misleading FIXME
The FIXME about the static libstdc++ is misleading; it only deserves being an INFO. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
500ee00f22
commit
b4620c6640
@ -202,8 +202,8 @@ do_cc_core() {
|
||||
if [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" ]; then
|
||||
# this is from CodeSourcery arm-2010q1-202-arm-none-linux-gnueabi.src.tar.bz2
|
||||
# build script
|
||||
# FIXME: if the host gcc is gcc-4.5 then presumably we could use -static-libstdc++,
|
||||
# see http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01635.html
|
||||
# INFO: if the host gcc is gcc-4.5 then presumably we could use -static-libstdc++,
|
||||
# see http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01635.html
|
||||
host_libstdcxx_flags+=("-static-libgcc")
|
||||
host_libstdcxx_flags+=("-Wl,-Bstatic,-lstdc++,-Bdynamic")
|
||||
host_libstdcxx_flags+=("-lm")
|
||||
@ -455,8 +455,8 @@ do_cc() {
|
||||
if [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" ]; then
|
||||
# this is from CodeSourcery arm-2010q1-202-arm-none-linux-gnueabi.src.tar.bz2
|
||||
# build script
|
||||
# FIXME: if the host gcc is gcc-4.5 then presumably we could use -static-libstdc++,
|
||||
# see http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01635.html
|
||||
# INFO: if the host gcc is gcc-4.5 then presumably we could use -static-libstdc++,
|
||||
# see http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01635.html
|
||||
host_libstdcxx_flags+=("-static-libgcc")
|
||||
host_libstdcxx_flags+=("-Wl,-Bstatic,-lstdc++,-Bdynamic")
|
||||
host_libstdcxx_flags+=("-lm")
|
||||
|
Loading…
x
Reference in New Issue
Block a user