Make use of optparse to fix argument parsing for Python 2.6 in bin/chpathtool.py.
[portage.git] / cnf / make.conf.example.x86.diff
1 --- make.conf.example
2 +++ make.conf.example
3 @@ -22,6 +22,15 @@
4  # Example:
5  #USE="X gtk gnome -alsa"
6  
7 +# Host Setting
8 +# ============
9 +#
10 +# DO NOT CHANGE THIS SETTING UNLESS YOU ARE USING STAGE1!
11 +# Change this line as appropriate (i686, i586, i486 or i386).
12 +# All modern systems (even Athlons) should use "i686-pc-linux-gnu".
13 +# All K6's are i586.
14 +CHOST="i686-pc-linux-gnu"
15 +
16  # Host and optimization settings 
17  # ==============================
18  #
19 @@ -39,10 +48,65 @@
20  # -frecord-gcc-switches, since otherwise the check could result in false
21  # positive results.
22  #
23 -# Please refer to the GCC manual for a list of possible values.
24 -#
25 -#CFLAGS="-O2 -pipe"
26 +# -mcpu=<cpu-type> means optimize code for the particular type of CPU without
27 +# breaking compatibility with other CPUs.
28  #
29 +# -march=<cpu-type> means to take full advantage of the ABI and instructions
30 +# for the particular CPU; this will break compatibility with older CPUs (for
31 +# example, -march=athlon-xp code will not run on a regular Athlon, and
32 +# -march=i686 code will not run on a Pentium Classic.
33 +#
34 +# CPU types supported by gcc version:
35 +# (Higher versions include the targets from older ones,
36 +# those listed on the same line are equivalent.)
37 +# === >=gcc-2.95
38 +# i386                 Original Intel's i386.
39 +# i486                 Intel's i486. (No scheduling implemented.)
40 +# i586, pentium        Intel Pentium with no MMX support.
41 +# pentium-mmx  Intel PentiumMMX based on Pentium core with MMX.
42 +# i686, pentiumpro     Intel PentiumPro.
43 +# === >=gcc-3.2
44 +# k6                   AMD K6 with MMX.
45 +# k6-2, k6-3   AMD K6 with MMX and 3dNOW!.
46 +# pentium2             Intel Pentium2 based on PentiumPro with MMX.
47 +# pentium3             Intel Pentium3 based on PentiumPro with MMX and SSE.
48 +# pentium4             Intel Pentium4 with MMX, SSE and SSE2.
49 +# athlon, athlon-tbird AMD Athlon with MMX, 3dNOW!, enhanced 3dNOW!
50 +#                              and SSE prefetch.
51 +# athlon-4, athlon-xp, athlon-mp       AMD Athlon with MMX, 3dNOW!, enhanced
52 +#                              3dNOW! and full SSE.
53 +# === >=gcc-3.3
54 +# winchip-c6   IDT Winchip C6, i486 with MMX.
55 +# winchip2             IDT Winchip2, i486 MMX and 3dNOW!.
56 +# c3                   Via C3 with MMX and 3dNOW! (No scheduling implemented.)
57 +# === >=gcc-4.1
58 +# c3-2                 Via C3-2 with MMX and SSE. (No scheduling implemented.)
59 +# pentium-m            Low power version of Intel Pentium3 with MMX, SSE, SSE2.
60 +#                              Used by Centrino notebooks.
61 +# prescott             Intel Pentium4 with MMX, SSE, SSE2 and SSE3.
62 +# nocona               Intel Pentium4 with 64-bit extensions, MMX, SSE, SSE2
63 +#                              and SSE3.
64 +# k8, opteron, athlon64, athlon-fx     AMD K8 core based CPUs with x86-64.
65 +#                              (This supersets MMX, SSE, SSE2, 3dNOW!, enhanced 3dNOW! and
66 +#                              64-bit extensions.)
67 +#
68 +# Gentoo Linux 1.2 and below used gcc-2.95*
69 +# Gentoo Linux 1.4 and 2004.* had gcc-3.2
70 +# Gentoo Linux 2005.1 through 2006.0 use gcc-3.3
71 +# Gentoo Linux 2006.1 has gcc-4.1
72 +# 
73 +#
74 +# CRITICAL WARNINGS: ****************************************************** #
75 +# K6 markings are deceptive. Avoid setting -march for them. See Bug #24379. #
76 +# Pentium-M CPUs should not enable sse2 until at least gcc-3.4. Bug 50616. #
77 +# ************************************************************************* #
78 +#
79 +# NOTE: the -On optimization levels are set with the letter O, not -0 (zero).
80 +#
81 +# Decent examples:
82 +#CFLAGS="-mcpu=athlon-xp -O2 -pipe"
83 +#CFLAGS="-march=pentium3 -O2 -pipe"
84 +
85  # If you set a CFLAGS above, then this line will set your default C++ flags to
86  # the same settings.
87  #CXXFLAGS="${CFLAGS}"
88 @@ -76,7 +140,7 @@
89  # DO NOT PUT ANYTHING BUT YOUR SPECIFIC ~ARCHITECTURE IN THE LIST.
90  # IF YOU ARE UNSURE OF YOUR ARCH, OR THE IMPLICATIONS, DO NOT MODIFY THIS.
91  #
92 -#ACCEPT_KEYWORDS="~arch"
93 +#ACCEPT_KEYWORDS="~x86"
94  
95  # ACCEPT_LICENSE is used to mask packages based on licensing restrictions.
96  # It may contain both license and group names, where group names are