Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371421 - sys-devel/gcc: provide "forced" compiler profiles (useflag?)
Summary: sys-devel/gcc: provide "forced" compiler profiles (useflag?)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://blog.flameeyes.eu/2008/11/14/p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-13 14:29 UTC by Andreas K. Hüttel
Modified: 2011-06-13 20:04 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 Andreas K. Hüttel archtester gentoo-dev 2011-06-13 14:29:00 UTC
It would be nice if the gcc ebuilds could automatically install compiler profiles for, e.g., forced --as-needed / --no-add-needed 

Obviously this is nothing for Joe Average User, so it should be controlled by a flag and off by default. It certainly beats creating the profiles by hand after every gcc upgrade, though...
Comment 1 SpanKY gentoo-dev 2011-06-13 20:03:47 UTC
the only thing a profile is is a custom spec file.  i dont want to explode the profile list for arbitrary flags, so simply create your own:
 - `gcc -dumpspecs > f`
 - add --as-needed to link_command
 - export GCC_SPECS to $PWD/f

if you want to automate things, then use the per-package bashrc