Make use of optparse to fix argument parsing for Python 2.6 in bin/chpathtool.py.
[portage.git] / cnf / make.conf.example.arm.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 +# Netwinder (or any StrongArm110): armv4l-unknown-linux-gnu
15 +# nslu2: armvbe-unknown-linux-gnu
16 +# Generic ARM: arm-unknown-linux-gnu
17 +#
18 +CHOST="armv4l-unknown-linux-gnu"
19 +
20  # Host and optimization settings 
21  # ==============================
22  #
23 @@ -39,10 +52,22 @@
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 -#
29 -#CFLAGS="-O2 -pipe"
30 +# -mcpu=<cpu-type> means optimize code for the particular type of CPU without
31 +# breaking compatibility with other CPUs.
32  #
33 +# -march=<cpu-type> means to take full advantage of the ABI and instructions
34 +# for the particular CPU; this will break compatibility with older CPUs (for
35 +# example, -march=xscale code will not run on a StrongARM 11x0, and
36 +# -march=strongarm110 code will not run on a regular StrongARM).
37 +#
38 +# For a full listing of supported CPU models, please refer to the GCC website:
39 +# http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/ARM-Options.html
40 +#
41 +# Netwinder:
42 +#CFLAGS="-mcpu=strongarm110 -O2 -pipe"
43 +# NSLU2:
44 +#CFLAGS="-mcpu=armeb -O2 -pipe"
45 +
46  # If you set a CFLAGS above, then this line will set your default C++ flags to
47  # the same settings.
48  #CXXFLAGS="${CFLAGS}"