On Tue, 27 Jan 2015 14:35:35 +0100, Raffaele BELARDI wrote:
> 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?
This alone won't work and might also be more confusing than necessary, as
the package-hierarchy-like naming is not required.
It's all documented here:
http://wiki.gentoo.org/wiki//etc/portage/env
-h