This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: copy CFLAGS_FOR_TARGET fix from trunk to 3.2 branch
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 7 Oct 2002 13:29:34 -0400 (EDT)
- Subject: Patch: copy CFLAGS_FOR_TARGET fix from trunk to 3.2 branch
There's another very simple and safe patch on the trunk that I'd like
to copy over to the 3.2 branch.
SUMMARY: The problem it addresses is that the target libraries are
built using the CFLAGS determined by configure using the state1
compiler. If the stage1 compiler is not gcc, then stage1 CFLAGS is -g
and so is the CFLAGS used to build target libraries.
The original patch is here:
http://gcc.gnu.org/ml/gcc-patches/2002-06/msg00788.html
This was installed on the trunk back in June. I retested it on last
night's 3.2 CVS and it worked fine. I checked the size of the various
.a files in the target lib directory and they shrink by varying
amounts from 2% to 10%.
Ok to install?
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu