emaint: portage.util._argparse
[portage.git] / cnf / make.conf.example.sh.diff
1 --- make.conf.example
2 +++ make.conf.example
3 @@ -22,6 +22,19 @@
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 +# It's very important you select the right CHOST from the start.  A wrong
12 +# CHOST could easily lead to weird errors either in compiling or running.
13 +#
14 +# There are really only two choices right now:
15 +#   sh3-unknown-linux-gnu
16 +#   sh4-unknown-linux-gnu    (Dreamcast / LANTank)
17 +#
18 +CHOST="sh4-unknown-linux-gnu"
19 +
20  # Host and optimization settings 
21  # ==============================
22  #
23 @@ -39,10 +52,15 @@
24  # -frecord-gcc-switches, since otherwise the check could result in false
25  # positive results.
26  #
27 -# Please refer to the GCC manual for a list of possible values.
28 +# -m# optimize code for the particular type of CPU.  The number should match
29 +# your CHOST so if you are using "sh4-unknown-linux-gnu", you should have
30 +# -m4 below.
31  #
32 -#CFLAGS="-O2 -pipe"
33 +# For a full listing of supported CPU models, please refer to the GCC website:
34 +# http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/SH-Options.html
35  #
36 +#CFLAGS="-m4 -O2 -pipe"
37 +
38  # If you set a CFLAGS above, then this line will set your default C++ flags to
39  # the same settings.
40  #CXXFLAGS="${CFLAGS}"