This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Question on BOOT_CFLAGS vs. CFLAGS
- From: Josh Conner <jconner at apple dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 14 Dec 2006 17:37:11 -0800
- Subject: Question on BOOT_CFLAGS vs. CFLAGS
All -
When I configure with --disable-bootstrap and build with:
CFLAGS="-g -O0"
The resultant compiler is built with the specified options. However, if
I --enable-bootstrap, when I build with the same CFLAGS, these options
are not used to build the final compiler. I can get past this by using
BOOT_CFLAGS="-g -O0", but that seems a bit inconsistent.
My question is: Is this behaving as designed or would it be reasonable
to file a bug and/or supply a patch to change the behavior so that
CFLAGS are respected whether bootstrapping is enabled or not?
Thanks -
Josh