This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]