nightmorph 07/11/10 01:18:14 Modified: gcc-optimization.xml Log: changed per-package flag impo to FAQ and expanded it a bit
Revision Changes Path 1.13 xml/htdocs/doc/en/gcc-optimization.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.13&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.13&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?r1=1.12&r2=1.13 Index: gcc-optimization.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- gcc-optimization.xml 10 Nov 2007 01:03:47 -0000 1.12 +++ gcc-optimization.xml 10 Nov 2007 01:18:14 -0000 1.13 @@ -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.12 2007/11/10 01:03:47 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v 1.13 2007/11/10 01:18:14 nightmorph Exp $ --> <guide link="/doc/en/gcc-optimization.xml"> <title>Compilation Optimization Guide</title> @@ -19,8 +19,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.7</version> -<date>2007-10-13</date> +<version>1.8</version> +<date>2007-11-09</date> <chapter> <title>Introduction</title> @@ -72,12 +72,6 @@ additional options in CXXFLAGS. </p> -<impo> -Portage cannot use CFLAGS on a per-package basis, nor is there any supported -method of forcing it to do so. The flags you set in <path>/etc/make.conf</path> -will be used for <e>all</e> packages you install. -</impo> - </body> </section> <section> @@ -565,6 +559,25 @@ </body> </section> +<section> +<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> + +<p> +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. +</p> + +</body> +</section> </chapter> <chapter> -- [EMAIL PROTECTED] mailing list
