Gentoo Archives: gentoo-user

From: Raffaele BELARDI <raffaele.belardi@××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Re: per-package CFLAGS
Date: Tue, 27 Jan 2015 14:06:39
Message-Id: 54C79BD2.2020401@st.com
In Reply to: [gentoo-user] Re: per-package CFLAGS by "Holger Hoffstätte"
1 Holger Hoffstätte wrote:
2 > On Tue, 27 Jan 2015 14:35:35 +0100, Raffaele BELARDI wrote:
3 >
4 >> I have a package failing build (media-tv/mythtv). One resource on the
5 >> net suggests using the -fno-devirtualize gcc flag. Google tells me that
6 >> the way to do that would be something like
7 >>
8 >> $ echo "CFLAGS=\"${CFLAGS} -fno-devirtualize\"" >
9 >> /etc/portage/env/media-tv/mythtv
10 >>
11 >> but the references are pretty old. Is this still the preferred way?
12 >
13 > This alone won't work and might also be more confusing than necessary, as
14 > the package-hierarchy-like naming is not required.
15 >
16 > It's all documented here:
17 > http://wiki.gentoo.org/wiki//etc/portage/env
18 >
19 > -h
20
21 Perfect, and very simple!
22
23 thanks,
24
25 raffaele