Il 22/07/2012 14:38, Rick "Zero_Chaos" Farina ha scritto:
> It would seem to me that we could get all these QA warning out of the
> way very quickly by adding -frecord-gcc-switches to the *FLAGS in the
> base profile (it appears to be platform agnostic but if I'm wrong we can
> add it for supported arches).

Ehm no that's not a good idea because it can actually cause problems.
Some ebuilds do s/-O2/${CFLAGS} s/gcc/$(tc-getCC)/ (in this order) and
then -frecord-gcc-switches will fail.

Other packages call ld directly, and then -frecord-gcc-switches in
LDFLAGS will fail...

-- 
Diego Elio Pettenò — Flameeyes
flamee...@flameeyes.eu — http://blog.flameeyes.eu/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to