On Saturday 23 September 2006 23:50, Duncan wrote:

> I've not done a full emerge --emptytree world with -combine in my
> CFLAGS, so while I know it doesn't kill a majority of packages, it
> apparently does kill a few.  Still, for the additional optimization it
> enables, I consider it worth it on the others.

Is there a way to specify CFLAGS on the command line in such a way as to 
negate (unset) those that are set in /etc/make.conf? I have -combine 
and -ftree-pre in make.conf, and while emerge -e world is running it fails 
some packages by not recognising those two. When that happens I want to 
emerge --resume --skipfirst so as not to lose my place in the world emerge, 
and in another terminal emerge the ones that have failed.

I can think of an expensive way to obtain the same effect, namely to remove 
the two offending flags from make.conf, run emerge -e world, replace the 
flags and emerge -e world again, using --skipfirst every time that one 
stops.

Or I could write a script that keeps resuming a failed emerge until it 
finishes. Not sure how I'd go about that: how would the script distinguish 
the end of the emerge from in interruption of it?

The last option would be to create a bug for each package that stops on 
unrecognised flags, but I'd rather continue to be able to talk to 
people :-(

Apologies if I seem to be thinking on my feet here.

-- 
Rgds
Peter
-- 
[email protected] mailing list

Reply via email to