It seems that GCC no longer contains XCFLAGS in gcc/Makefile.in. Instead, there is a new function called T_CFLAGS in its place. The comment says "T_CFLAGS is used for all compilations and is overriden by t-* files" where previously it said, "XCFLAGS is used for most compilations but not when using the GCC just built." I don't know how important the difference between _most_ compiles and _all_ compiles is, but T_CFLAGS seems to work just as well.
The new command is:
case `uname -m` in
i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' \
gcc/Makefile.in ;;
esac
pgph94oO0MHCT.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
