I have a package failing build (media-tv/mythtv). One resource on the net suggests using the -fno-devirtualize gcc flag. Google tells me that the way to do that would be something like
$ echo "CFLAGS=\"${CFLAGS} -fno-devirtualize\"" > /etc/portage/env/media-tv/mythtv but the references are pretty old. Is this still the preferred way? thanks, raffaele