When I pass BOOT_STRAP="-march=athlon -O2" on the command line of make to bootstrap gcc then they are not being used. The flags for bootstrapping always default to "-g -O2".
I believe this is due to BOOT_CFLAGS missing in the top-level's Makefile lists for variables to pass on to sub-level Makefiles. Atleast that list does not contain BOOT_CFLAGS so how should this variable get there? This is not specific to 4.1.2. I think I saw this already in 4.1.1. The reason why I need it is because I want to create a profiled bootstrap with a few more optimizations so that an optimised executable will be installed when running "make install". -- Summary: top-level BOOT_CFLAGS not being used for bootstrapping Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sdack at gmx dot de GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30810