This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug target/32622] BOOT_CFLAGS is not passed to stage2 and stage3 compile
- From: "Sebastian Pop" <spop at gcc dot gnu dot org>
- To: gcc-bugzilla at gcc dot gnu dot org, "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 5 Jul 2007 19:53:11 +0200
- Subject: Re: [Bug target/32622] BOOT_CFLAGS is not passed to stage2 and stage3 compile
- References: <bug-32622-1649@http.gcc.gnu.org/bugzilla/> <20070704134212.19700.qmail@sourceware.org>
Hi,
here is a fix for PR32622 that I've bootstrapped and tested on
i686-linux with "configure BOOT_CFLAGS=-O2" that made the bootstrap
stage2 and stage3 use "-O2 -fomit-frame-pointer" instead of "-O2 -g
-fomit-frame-pointer". Okay for trunk?
Sebastian
* config/mh-x86omitfp (BOOT_CFLAGS): Add -fomit-frame-pointer,
don't reset its value.
Index: config/mh-x86omitfp
===================================================================
--- config/mh-x86omitfp (revision 126312)
+++ config/mh-x86omitfp (working copy)
@@ -1,2 +1,2 @@
# Add -fomit-frame-pointer to the usual BOOT_CFLAGS to speed up the compiler.
-BOOT_CFLAGS = -O2 -g -fomit-frame-pointer
+BOOT_CFLAGS += -fomit-frame-pointer