On 8/10/07, Florian Philipp <[EMAIL PROTECTED]> wrote: > Hi! > > Is there any sensible reason why it is not possible to change cflags and > cxxflags on a per-package base like useflags? > > I think gcc's default behavior is to use the last given setting if you specify > for example -O2 and -O3 at the same time. Therefore simple appending should > be safe, shouldn't it? >
That would certainly double the number of bug reports with aggressive flags marked as INVALID or WONTFIX... If you really want to set this, you can mess with the Makefile, but letting portage manage this is more trouble than its worth IMHO. http://www.gentoo.org/doc/en/gcc-optimization.xml -- Daniel da Veiga Computer Operator - RS - Brazil -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ ------END GEEK CODE BLOCK------ -- [EMAIL PROTECTED] mailing list