Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412853 - Compilation Optimization Guide gives outdated information about "per-package flags" in FAQ
Summary: Compilation Optimization Guide gives outdated information about "per-package ...
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/gcc-opti...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-21 03:44 UTC by Shogo Tochihara
Modified: 2012-04-22 10:37 UTC (History)
1 user (show)

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 Shogo Tochihara 2012-04-21 03:44:46 UTC
Page http://www.gentoo.org/doc/en/gcc-optimization.xml#doc_chap3_sect5

Quote:
"There is no supported method for using CFLAGS or other variables on a per-package basis, though there are a few rather abusive ways of trying force Portage to do so."

However, Portage gives the method using "/etc/portage/package.env" and "/etc/portage/env/".

So, for example :
"There is supported method for using CFLAGS or other variables on a per-package basis.  Please refer <a href="http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=3&chap=6#doc_chap2">Advanced Portage Features</a>."

Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2012-04-22 10:37:43 UTC
Fixed in CVS. Thanks for reporting!