Make use of optparse to fix argument parsing for Python 2.6 in bin/chpathtool.py.
[portage.git] / cnf / make.conf.example.sparc.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 +# This should be left to the default value of sparc-unknown-linux-gnu unless
10 +# you are absolutely certain of the consequences.  In addition to potentially
11 +# destroying your system, you will receive no support and your bugs will be 
12 +# marked INVALID if you change this.
13 +#
14 +# CHOST="sparc-unknown-linux-gnu"
15 +
16  # Host and optimization settings 
17  # ==============================
18  #
19 @@ -39,10 +48,34 @@
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 -#
27 +# Sparc specific cpu optimizatiobn flags can be found here:
28 +# http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/SPARC-Options.html#SPARC%20Options
29 +# 
30 +# -mcpu=<cpu-type> means optimize code for the particular type of CPU without
31 +# breaking compatibility with other CPUs.
32 +#
33 +# -mtune=<cpu-type> set the instruction scheduling parameters for machine, but
34 +# do not set the instruction set or register set.
35 +#
36 +# Here is a list of each supported architecture and their supported
37 +# implementations:
38 +#
39 +# gcc-3.2 and higher:
40 +#    v7:             cypress
41 +#    v8:             supersparc, hypersparc
42 +#    sparclite:      f930, f934, sparclite86x
43 +#    sparclet:       tsc701
44 +#    v9:             ultrasparc
45 +#
46 +# Additionally in gcc-3.3 and higher:
47 +#    v9:             ultrasparc3
48 +#
49 +# Decent examples:
50 +#
51 +#CFLAGS="-mcpu=supersparc -O2 -pipe"
52 +#CFLAGS="-mcpu=ultrasparc -O2 -pipe"
53 +#CFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe"
54 +
55  # If you set a CFLAGS above, then this line will set your default C++ flags to
56  # the same settings.
57  #CXXFLAGS="${CFLAGS}"
58 @@ -76,7 +109,7 @@
59  # DO NOT PUT ANYTHING BUT YOUR SPECIFIC ~ARCHITECTURE IN THE LIST.
60  # IF YOU ARE UNSURE OF YOUR ARCH, OR THE IMPLICATIONS, DO NOT MODIFY THIS.
61  #
62 -#ACCEPT_KEYWORDS="~arch"
63 +#ACCEPT_KEYWORDS="~sparc"
64  
65  # ACCEPT_LICENSE is used to mask packages based on licensing restrictions.
66  # It may contain both license and group names, where group names are