Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 86722

Summary: portage patch to add flags from /etc/portage/packages.cflags and /etc/portage/packages.cxxflags
Product: Portage Development Reporter: Wojciech Potentas <killorbekilled>
Component: Core - ConfigurationAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: iyosifov
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for portage_const.py. unfotunately - untested

Description Wojciech Potentas 2005-03-25 16:35:46 UTC
When doing boostrap.sh process sometimes there is such situation, that
some packages compile with one set of flags, some with totally different 
(like ncurses - it needs -fno-exceptions, and db4 needs -fexceptions - theese
flags are opposite so compilation will fail instead, if you put -fexceptions it 
will fail on ncurses, if "-fno-expections" on db4). I thought to make possible
creation of /etc/portage/packages.cflags and /etc/portage/packages.cxxflags
files with extra flags for this, so one can add needed flags to selected package.
I wrote a patch for portage but I don't know if it wokrs case don't know how to 
test it. It is in attachment.
Comment 1 Wojciech Potentas 2005-03-25 16:38:38 UTC
Created attachment 54483 [details, diff]
patch for portage_const.py. unfotunately - untested
Comment 2 SpanKY gentoo-dev 2005-03-28 21:14:03 UTC

*** This bug has been marked as a duplicate of 44796 ***