Well, I've seen too much ebuilds [1] checking for a defined $DEBUG to enable/disable debugging. What about adding a proper USEFLAG? [1] find /usr/portage/ -name '*.ebuild' | xargs grep "DEBUG" Maurizio
not a bad idea, really
/etc/make.globals # Debug build -- if defined, binaries won't be stripped #DEBUGBUILD=true