Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] CFLAGs change but no filter/strip/replace in ebuild
Date: Sat, 09 Dec 2017 09:37:44
Message-Id: CAC=wYCGkKWeh5U6aac4y-T6vMA427zBpBqgG6SKsAVG7BJK1HQ@mail.gmail.com
In Reply to: Re: [gentoo-user] CFLAGs change but no filter/strip/replace in ebuild by Alan McKinnon
1 On Sat, Dec 9, 2017 at 8:10 PM, Alan McKinnon <alan.mckinnon@×××××.com>
2 wrote:
3
4 > On 09/12/2017 11:10, Adam Carter wrote:
5 > > # grep -ic flags yasm-1.3.0.ebuild
6 > > 0
7 > >
8 > > However, emerge --info yasm shows me that only -march -O2 -pipe make it
9 > > through. Where is the code that strips the others?
10 > >
11 >
12 > Have you checked yasm's Makefile?
13 >
14
15 There's mentions of CFLAGS in there but I don't have the knowledge to
16 understand it. Is there a way I can tweak what the makefiles have done? I
17 tried adding;
18
19 append-flags <flag>
20
21 in the src_configure() section, but <flag> doesnt get added, according to
22 emerge --info

Replies

Subject Author
Re: [gentoo-user] CFLAGs change but no filter/strip/replace in ebuild Alan McKinnon <alan.mckinnon@×××××.com>