Andrew Pinski <pins...@gmail.com> writes: > On Tue, Jan 18, 2011 at 5:02 PM, Jack Howarth <howa...@bromo.med.uc.edu> > wrote: >> While doing bootstraps with... >> >> make -j 8 profiledbootstrap BOOT_CFLAGS="-g -O3" >> >> I noticed the absence of these flags being utilized in libdecnumber, libffi, >> libgcc, etc. >> This also appears to be limiting the coverage of the lto-bootstrap as well. >> Are there any >> plans to address in the near term? If not, any hints on what we are missing >> to solve this? >> Is it as simple as adding the appropriate entries in Makefile.in for >> BUILD_COMPILERFLAGS >> and BUILD_CPPFLAGS? > > I think you need TARGET_CFLAGS set too.
That is, CFLAGS_FOR_TARGET. BOOT_CFLAGS is used for code compiled to run on the host system. CFLAGS_FOR_TARGET is used for code compiled to run on the target system. libdecnumber, libffi, libgcc are all compiled to run on the target system, not the host system. Ian