swift 12/04/22 10:37:32 Modified: gcc-optimization.xml Log: Fix bug #412853 - Refer to the package.env location for per-package CFLAGS
Revision Changes Path 1.19 xml/htdocs/doc/en/gcc-optimization.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.19&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.19&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?r1=1.18&r2=1.19 Index: gcc-optimization.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- gcc-optimization.xml 27 Jul 2010 00:24:29 -0000 1.18 +++ gcc-optimization.xml 22 Apr 2012 10:37:32 -0000 1.19 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v 1.18 2010/07/27 00:24:29 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v 1.19 2012/04/22 10:37:32 swift Exp $ --> <guide> <title>Compilation Optimization Guide</title> @@ -19,8 +19,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>2</version> -<date>2010-07-26</date> +<version>3</version> +<date>2012-04-22</date> <chapter> <title>Introduction</title> @@ -575,19 +575,19 @@ <title>Can I use per-package flags?</title> <body> -<p> -There is no supported method for using CFLAGS or other variables on a -per-package basis, though there are a few <uri -link="http://forums.gentoo.org/viewtopic-p-3832057.html#3832057">rather -abusive</uri> ways of trying force Portage to do so. -</p> - <warn> -You <e>should not</e> try to force Portage to use per-package flags, as it is -not in any way supported and will greatly complicate bug reports. Just set your -flags in <path>/etc/make.conf</path> to be used on a system-wide basis. +Using per-package flags complicates debugging and support. Make sure you mention +in your bug reports if you make use of this feature and what the changes are you +made. </warn> +<p> +Information on how to use per-package environment variables (including CFLAGS) +is described in the <uri +link="/doc/en/handbook/handbook-amd64.xml?part=3&chap=6#doc_chap2">Gentoo +Handbook, "Per-Package Environment Variables"</uri>. +</p> + </body> </section> </chapter>
