summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-10 04:54:26 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-10 04:54:26 +0000
commit4b6991a4a90d3e1c6e4c349b2d4e94b1668890ab (patch)
tree24cc5b77ddb7542b54639ed077f738afb6dfdb3f
parent3ba3548665d60542ae6b8cd856240f55f3ed58ad (diff)
downloadportage-4b6991a4a90d3e1c6e4c349b2d4e94b1668890ab.tar.gz
portage-4b6991a4a90d3e1c6e4c349b2d4e94b1668890ab.tar.bz2
portage-4b6991a4a90d3e1c6e4c349b2d4e94b1668890ab.zip
diff for superh
svn path=/main/trunk/; revision=4432
-rw-r--r--cnf/make.conf.sh.diff43
1 files changed, 43 insertions, 0 deletions
diff --git a/cnf/make.conf.sh.diff b/cnf/make.conf.sh.diff
new file mode 100644
index 000000000..5032c85ee
--- /dev/null
+++ b/cnf/make.conf.sh.diff
@@ -0,0 +1,43 @@
+--- make.conf 2006-03-19 18:40:11.000000000 +0100
++++ make.conf.sh 2006-03-19 18:26:21.000000000 +0100
+@@ -23,6 +23,19 @@
+ # Example:
+ #USE="X gtk gnome -alsa"
+
++# Host Setting
++# ============
++#
++# DO NOT CHANGE THIS SETTING UNLESS YOU ARE USING STAGE1!
++# It's very important you select the right CHOST from the start. A wrong
++# CHOST could easily lead to weird errors either in compiling or running.
++#
++# There are really only two choices right now:
++# sh3-unknown-linux-gnu
++# sh4-unknown-linux-gnu (Dreamcast / LANTank)
++#
++CHOST="sh4-unknown-linux-gnu"
++
+ # Host and optimization settings
+ # ==============================
+ #
+@@ -33,10 +46,17 @@
+ # package (and in some cases the libraries it uses) at default optimizations
+ # before reporting errors to developers.
+ #
+-# Please refer to the GCC manual for a list of possible values.
+-#
+-#CFLAGS="-O2 -pipe"
++# -m# optimize code for the particular type of CPU. The number should match
++# your CHOST so if you are using "sh4-unknown-linux-gnu", you should have
++# -m4 below.
+ #
++# Don't use -O3. Even -O2 may be risky in some cases.
++#
++# For a full listing of supported CPU models, please refer to the GCC website:
++# http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/SH-Options.html
++#
++#CFLAGS="-m4 -O2 -pipe"
++
+ # If you set a CFLAGS above, then this line will set your default C++ flags to
+ # the same settings.
+ #CXXFLAGS="${CFLAGS}"