Summary: | sys-devel/gcc: provide "forced" compiler profiles (useflag?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andreas K. Hüttel
2011-06-13 14:29:00 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 |