On Fri, 2005-07-29 at 03:04 +0200, neon (Luca) wrote: > I'm writing a little script that recompiles packages with different > CFLAGS (from the ones in make.conf) > But there are some packages (like gcc) that keep overriding CFLAGS with > their own CFLAGS. > My question is: how can i individuate those packages? i want to filter them. > It's something related with "inherit flag-o-matic"? can i ignore ebuilds > wich contain this line or some of them don't override CFLAGS? gcc's > ebuild hasn't flag-o-matic but it overrides CFLAGS. > now i'm controlling /var/db/pkg/pack-cat/pack-name/INHERITED and if it > contains flag-o-matic i filter the package but i'm not sure this is the > good way.
flag-o-matic provide functions to filter the cflags, but other flags. You could grep the ebuild that use flag-o-matic for those functions and find out (by the parameters) which flags has been filtered and see from the results if a particular package is should be re-emerged. > any suggestions? > > thanks and sorry for my bad english. Your welcome, sorry for mine ;p Kristian -- [email protected] mailing list
