FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-18-2008, 11:01 PM
William Kenworthy
 
Default temporarily lower gcc's optimization flags - HowTo

CFLAGS='-MY_OTHER_FLAGS -O1' emerge package

???
BillK


On Wed, 2008-06-18 at 19:46 +0200, Volker Armin Hemmann wrote:
> On Wednesday 18 June 2008, Helmut Jarausch wrote:
> > Hi,
> >
> > due to a bug with gcc-4.3.1 when used with -O2 or higher
> > I need to emerge a package with a lower optimization (-O1)
> > than my default in /etc/make.conf (which is -O2)
> >
> > Is there a means to do so without changing /etc/make.conf temporarily?
>
>
> you could edit the ebuild and add filter-flags to it. Then copy it to your
> local overlay, ebuild blabla.ebuild digest and you are ready to emerge.
--
William Kenworthy <billk@iinet.net.au>
Home in Perth!
--
gentoo-user@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 06:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org