Nikos Chantziaras writes: > What the other posters said, except that you shouldn't add "splitdebug" > in your make.conf. If you do that, it will affect all packages. > > What you do instead is put this text into > /etc/portage/env/sys-libs/glibc (yes, it must be a text file, not a > directory): > > CFLAGS="${CFLAGS} -g" > CXXFLAGS="${CXXFLAGS} -g" > FEATURES="${FEATURES} splitdebug"
Or put "sys-libs/glibc splitdebug.conf" in /etc/portage/package.env, and "FEATURES=splitdebug" in /etc/portage/env/splitdebug.conf. The CFLAGS change should not be necessary. And I also think that you can simply use FEATURES=... instead of FEATURES="$FEATURES ..." and hope someone will correct me if not. Wonko