On 24 October 2011 07:57, Yohan Pereira <yohan.pere...@gmail.com> wrote:

> Also if you dont want to do thos globbaly for all your packages you can make
> use of /etc/portage/env/.
>
> For example this is what i have for amarok in
>
> /etc/portage/env/media-sound/amarok
>
> CFLAGS="-march=core2 -O1 -g"
>
> CXXFLAGS="${CFLAGS}"
>
> FEATURES="splitdebug"
>
> also note when doing it this way, you will also have to do this for a few
> dependencies that amarok uses. The way i did it was, When dr konqi pops up
> after amarok crashes, it displays a list of files needed for a more usefull
> backtrace (in the developer information tab).Use equery to find out which
> packages those files belong to and add an entry in /etc/portage/env for
> them. After thats done rebuild those pacakges.

Thank you very much! I'm going to do this way.
If I make a file under /etc/portage/env/ directory, for example Amarok
than in this file I can redefine the compile options and features for
a particular package? Do I understand correctly?

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell

Reply via email to