Mike Edenfield schrieb: > On 10/29/2009 5:13 PM, Nikos Chantziaras wrote: >> On 10/29/2009 10:45 PM, Nikos Chantziaras wrote: >>> I suppose this is interesting to most Gentoo users. Linux Magazine >>> performed a detailed benchmark of Gentoo, comparing it to Ubuntu 9.04: >>> >>> http://www.linux-mag.com/id/7574/1 >> >> Btw, I think this is a very nice example of why per-package CFLAGS would >> have been very useful. Some application largely benefit from -Os, others >> from -O2. > > If you're willing to put in a bit of effort, I believe you can set up a > per-package environment (including custom CFLAGS) in a number of ways. > The one that seems to be most popular is described here: > > http://www.mail-archive.com/gentoo-portage-dev@lists.gentoo.org/msg00585.html > > > I am using a much simpler (for me thing). Just create for every package you like to change things a kind of pseudo make.conf in /etc/portage/env/CAT/ There you can change everything on package basis, not only FLAGS, but also FEATURES etc.