Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: gcc-optimization.xml
Date: Sun, 22 Apr 2012 12:05:20
Message-Id: 20120422103732.6971E2004B@flycatcher.gentoo.org
1 swift 12/04/22 10:37:32
2
3 Modified: gcc-optimization.xml
4 Log:
5 Fix bug #412853 - Refer to the package.env location for per-package CFLAGS
6
7 Revision Changes Path
8 1.19 xml/htdocs/doc/en/gcc-optimization.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.19&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.19&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?r1=1.18&r2=1.19
13
14 Index: gcc-optimization.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v
17 retrieving revision 1.18
18 retrieving revision 1.19
19 diff -u -r1.18 -r1.19
20 --- gcc-optimization.xml 27 Jul 2010 00:24:29 -0000 1.18
21 +++ gcc-optimization.xml 22 Apr 2012 10:37:32 -0000 1.19
22 @@ -1,6 +1,6 @@
23 <?xml version='1.0' encoding='UTF-8'?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v 1.18 2010/07/27 00:24:29 nightmorph Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v 1.19 2012/04/22 10:37:32 swift Exp $ -->
27
28 <guide>
29 <title>Compilation Optimization Guide</title>
30 @@ -19,8 +19,8 @@
31 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
32 <license/>
33
34 -<version>2</version>
35 -<date>2010-07-26</date>
36 +<version>3</version>
37 +<date>2012-04-22</date>
38
39 <chapter>
40 <title>Introduction</title>
41 @@ -575,19 +575,19 @@
42 <title>Can I use per-package flags?</title>
43 <body>
44
45 -<p>
46 -There is no supported method for using CFLAGS or other variables on a
47 -per-package basis, though there are a few <uri
48 -link="http://forums.gentoo.org/viewtopic-p-3832057.html#3832057">rather
49 -abusive</uri> ways of trying force Portage to do so.
50 -</p>
51 -
52 <warn>
53 -You <e>should not</e> try to force Portage to use per-package flags, as it is
54 -not in any way supported and will greatly complicate bug reports. Just set your
55 -flags in <path>/etc/make.conf</path> to be used on a system-wide basis.
56 +Using per-package flags complicates debugging and support. Make sure you mention
57 +in your bug reports if you make use of this feature and what the changes are you
58 +made.
59 </warn>
60
61 +<p>
62 +Information on how to use per-package environment variables (including CFLAGS)
63 +is described in the <uri
64 +link="/doc/en/handbook/handbook-amd64.xml?part=3&amp;chap=6#doc_chap2">Gentoo
65 +Handbook, "Per-Package Environment Variables"</uri>.
66 +</p>
67 +
68 </body>
69 </section>
70 </chapter>