Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66020 - 1* two set's of C/CXX FLAGS (CFLAGS_SAFE and CFLAGS_DEFAULT) and/or 2* package.badflags file
Summary: 1* two set's of C/CXX FLAGS (CFLAGS_SAFE and CFLAGS_DEFAULT) and/or 2* packag...
Status: RESOLVED DUPLICATE of bug 44796
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-01 06:22 UTC by Robert Sebastian Gerus
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***