Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@××××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: gcc-optimization.xml
Date: Sat, 10 Nov 2007 01:18:32
Message-Id: E1IqezG-0002L3-Dw@stork.gentoo.org
1 nightmorph 07/11/10 01:18:14
2
3 Modified: gcc-optimization.xml
4 Log:
5 changed per-package flag impo to FAQ and expanded it a bit
6
7 Revision Changes Path
8 1.13 xml/htdocs/doc/en/gcc-optimization.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.13&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?rev=1.13&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gcc-optimization.xml?r1=1.12&r2=1.13
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.12
18 retrieving revision 1.13
19 diff -u -r1.12 -r1.13
20 --- gcc-optimization.xml 10 Nov 2007 01:03:47 -0000 1.12
21 +++ gcc-optimization.xml 10 Nov 2007 01:18:14 -0000 1.13
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.12 2007/11/10 01:03:47 nightmorph Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gcc-optimization.xml,v 1.13 2007/11/10 01:18:14 nightmorph Exp $ -->
27
28 <guide link="/doc/en/gcc-optimization.xml">
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>1.7</version>
35 -<date>2007-10-13</date>
36 +<version>1.8</version>
37 +<date>2007-11-09</date>
38
39 <chapter>
40 <title>Introduction</title>
41 @@ -72,12 +72,6 @@
42 additional options in CXXFLAGS.
43 </p>
44
45 -<impo>
46 -Portage cannot use CFLAGS on a per-package basis, nor is there any supported
47 -method of forcing it to do so. The flags you set in <path>/etc/make.conf</path>
48 -will be used for <e>all</e> packages you install.
49 -</impo>
50 -
51 </body>
52 </section>
53 <section>
54 @@ -565,6 +559,25 @@
55
56 </body>
57 </section>
58 +<section>
59 +<title>Can I use per-package flags?</title>
60 +<body>
61 +
62 +<p>
63 +There is no supported method for using CFLAGS or other variables on a
64 +per-package basis, though there are a few <uri
65 +link="http://forums.gentoo.org/viewtopic-p-3832057.html#3832057">rather
66 +abusive</uri> ways of trying force Portage to do so.
67 +</p>
68 +
69 +<p>
70 +You <e>should not</e> try to force Portage to use per-package flags, as it is
71 +not in any way supported and will greatly complicate bug reports. Just set your
72 +flags in <path>/etc/make.conf</path> to be used on a system-wide basis.
73 +</p>
74 +
75 +</body>
76 +</section>
77 </chapter>
78
79 <chapter>
80
81
82
83 --
84 gentoo-doc-cvs@g.o mailing list