Re: [gentoo-dev] Using -frecord-gcc-switches

2009-03-03 Thread Rémi Cardona
Le 03/03/2009 07:33, Donnie Berkholz a écrit : Thoughts? Could we do something useful with this? What about the various objects that make up the final lib/binary? How is this handled? Looks like a promising idea though Cheers, Rémi

[gentoo-dev] Using -frecord-gcc-switches

2009-03-02 Thread Donnie Berkholz
-frecord-gcc-switches is a really cool gcc option to save the CFLAGS a binary was built with in the binary itself. This could help with our bug reporting or with various QA checks. Imagine if `emerge --info cat/pkg` showed the CFLAGS that the binaries were actually built with, instead of some