I mean, like you don't list
all use flags for each package.
say you have in make.conf
you could have in packge.cflags
Code: Select all
foo-bar/baz-gazonk -O3 -msse -mfp-math=sse
arfle-barfle/gloop-quux -O -mtune=pentium-m
which would result at execution into emerge-time CFLAGS for foo-bar/baz-gazonk:
Code: Select all
-O3 -msse -mfp-math=sse -march=pentium-m -pipe
and for arfle-barfle/gloop-quux
this would also work for package.cxxflags, package.video_cards, package.linguas, package.makeopts.... that's what I mean for general.
indeed this would require a fair amount of coding, but when I started to use gentoo, that's what I expected for the /etc/portage dir.