On Thursday 24 August 2006 00:54, Richard Fish wrote: > On 8/23/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote: > > Discussion further down this thread has made us aware that this will > > always make stuff like gcc, mozilla-firefox and openoffice become rebuilt > > despite that rebuilding them won't change their CFLAGS at all... > > Um, yeah. Definitely not perfect. :-/ > > Maybe searching by mtime is better...
In the case of the OP the best approach might be to simply grep for -O3. I at least don't have any packages installed that use -O3 when it isn't in the CFLAGS. # emerge --verbose --ask --oneshot \ `grep -l "\-O3" /var/db/pkg/*/*/CFLAGS | cut -d'/' -f5-6 | sed -e 's/^/=/'` -- Bo Andresen
pgp8o42Cj7ROq.pgp
Description: PGP signature