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

Bug 66020

Summary: 1* two set's of C/CXX FLAGS (CFLAGS_SAFE and CFLAGS_DEFAULT) and/or 2* package.badflags file
Product: Portage Development Reporter: Robert Sebastian Gerus <ar>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert Sebastian Gerus 2004-10-01 06:22:10 UTC
1*
In make.conf there would be specified two set's of C/CXXFLAGS. in example CFLAGS_DEFAULT/
CXXFLAGS_DEFAULT and CFLAGS_SAFE/CXXFLAGS_SAFE. The _DEFAULT would be used for normal packages nad _SAFE would be used in packages like glibc, xorg-x11 and so on instead of filtering unsafe flags from CFLAGS/CXXFLAGS.
2*
There could be file like package.badflags in profile and/or /etc/portage which would look like this:
<package>/<category>-<version> CFLAGS="-foo" CXXFLAGS="-bar"
and the the bad flags would be taken from the package.badflags and turned off for a specific package.
Aditionaly there could be a package.goodflags that would override the settings in package.badflags

Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2004-10-01 08:34:05 UTC

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