Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] temporarily lower gcc's optimization flags - HowTo
Date: Wed, 18 Jun 2008 23:01:14
Message-Id: 1213830066.8255.35.camel@rattus.localdomain
In Reply to: Re: [gentoo-user] temporarily lower gcc's optimization flags - HowTo by Volker Armin Hemmann
1 CFLAGS='-MY_OTHER_FLAGS -O1' emerge package
2
3 ???
4 BillK
5
6
7 On Wed, 2008-06-18 at 19:46 +0200, Volker Armin Hemmann wrote:
8 > On Wednesday 18 June 2008, Helmut Jarausch wrote:
9 > > Hi,
10 > >
11 > > due to a bug with gcc-4.3.1 when used with -O2 or higher
12 > > I need to emerge a package with a lower optimization (-O1)
13 > > than my default in /etc/make.conf (which is -O2)
14 > >
15 > > Is there a means to do so without changing /etc/make.conf temporarily?
16 >
17 >
18 > you could edit the ebuild and add filter-flags to it. Then copy it to your
19 > local overlay, ebuild blabla.ebuild digest and you are ready to emerge.
20 --
21 William Kenworthy <billk@×××××××××.au>
22 Home in Perth!
23 --
24 gentoo-user@l.g.o mailing list