Fabian Groffen wrote:
I'm just wondering... unless it has changed since last time I installed
Gentoo Linux, but isn't the installation manual on purpose conservative
with CFLAGS?  make.conf.example also does not much more than
"-march -O2 -pipe".  -O1 to the linker feels conservative to me.  Still,
do we really need to go any further?  Why not make additional pointers
to possible values for LDFLAGS like we do for C(XX)FLAGS in the
installation manual?

CFLAGS != LDFLAGS, so the installation handbook has never covered them. And yes, we are conservative in our documentation with regards to optimization, because that's the smart choice.

Ya'll may want to take a look at the compilation optimization guide at [1], specifically the FAQ on LDFLAGS. I may need to reword this section a bit given how the stance on LDFLAGS has shifted.

[1] http://www.gentoo.org/doc/en/gcc-optimization.xml#doc_chap3_sect4

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to