summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2007-08-12 18:18:35 +0000
committerNed Ludd <solar@gentoo.org>2007-08-12 18:18:35 +0000
commita38252f346224254b7ea61c760c55ec7c07f312f (patch)
tree3faa75e340b33c67f8c38a7835ea1fe0c62a01a9
parentFor bug #33585, leave the old info dir file in place if there is nothing to g... (diff)
downloadportage-idfetch-a38252f346224254b7ea61c760c55ec7c07f312f.tar.gz
portage-idfetch-a38252f346224254b7ea61c760c55ec7c07f312f.tar.bz2
portage-idfetch-a38252f346224254b7ea61c760c55ec7c07f312f.zip
'decent' CFLAGS should not feature -O3. Bug 188619
svn path=/main/trunk/; revision=7596
-rw-r--r--cnf/make.conf.alpha.diff4
-rw-r--r--cnf/make.conf.arm.diff2
-rw-r--r--cnf/make.conf.ppc.diff6
-rw-r--r--cnf/make.conf.ppc64.diff2
-rw-r--r--cnf/make.conf.sh.diff2
-rw-r--r--cnf/make.conf.sparc.diff4
-rw-r--r--cnf/make.conf.x86-fbsd.diff4
-rw-r--r--cnf/make.conf.x86.diff4
8 files changed, 14 insertions, 14 deletions
diff --git a/cnf/make.conf.alpha.diff b/cnf/make.conf.alpha.diff
index 5fa4ae30..f0a4e385 100644
--- a/cnf/make.conf.alpha.diff
+++ b/cnf/make.conf.alpha.diff
@@ -33,8 +33,8 @@
#
+# Decent examples:
+#
-+#CFLAGS="-mcpu=ev67 -O3 -pipe "
-+CFLAGS="-mcpu=ev5 -O3 -pipe "
++#CFLAGS="-mcpu=ev67 -O2 -pipe "
++CFLAGS="-mcpu=ev5 -O2 -pipe "
+
# If you set a CFLAGS above, then this line will set your default C++ flags to
# the same settings.
diff --git a/cnf/make.conf.arm.diff b/cnf/make.conf.arm.diff
index 6c1e7f17..9d84ca30 100644
--- a/cnf/make.conf.arm.diff
+++ b/cnf/make.conf.arm.diff
@@ -35,7 +35,7 @@
+# example, -march=xscale code will not run on a StrongARM 11x0, and
+# -march=strongarm110 code will not run on a regular StrongARM).
+#
-+# Don't use -O3. Even -O2 may be risky in some cases.
++# Don't use -O2. 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/ARM-Options.html
diff --git a/cnf/make.conf.ppc.diff b/cnf/make.conf.ppc.diff
index f01a2da3..2be03cb4 100644
--- a/cnf/make.conf.ppc.diff
+++ b/cnf/make.conf.ppc.diff
@@ -39,10 +39,10 @@
+#
+# The newer gcc has a stricter aliasing ruleset that makes type punned
+# expression faulty compiled if -fstrict-aliasing is enabled.
-+# That option is implied by -O2 -Os and -O3. Make SURE you don't have that
++# That option is implied by -O2 -Os and -O2. Make SURE you don't have that
+# option enabled by adding -fno-strict-aliasing to your CFLAGS and CXXFLAGS
+#
-+# Long term testing has shown that -O3 opts can be unreliable on G4's but work
++# Long term testing has shown that -O2 opts can be unreliable on G4's but work
+# on G3 series processors or earlier.
+#
+# The following is the suggested CFLAGS for a generic G4 cpu
@@ -55,7 +55,7 @@
+# all G3 and pre machines. (note it will not hurt pre G3 machines either to
+# use this mcpu option as it is the default for gcc 3.2.x anyway)
+#
-+#CFLAGS="-O3 -pipe -mcpu=G3 -fno-strict-aliasing"
++#CFLAGS="-O2 -pipe -mcpu=G3 -fno-strict-aliasing"
+
+# Recommended settings for GCC 2.95.3 only (Gentoo 1.2 or older):
+#
diff --git a/cnf/make.conf.ppc64.diff b/cnf/make.conf.ppc64.diff
index 2aaec01f..bafad216 100644
--- a/cnf/make.conf.ppc64.diff
+++ b/cnf/make.conf.ppc64.diff
@@ -42,7 +42,7 @@
+# feature. Note: you should also include -mabi=altivec flag if using this option.
#
-#CFLAGS="-O2 -pipe"
-+# -O3 for the most part seems ok but should be used with caution as
++# -O2 for the most part seems ok but should be used with caution as
+# for instance app-editors/vim has problems if it is used. -O2 is a
+# good selection.
+#
diff --git a/cnf/make.conf.sh.diff b/cnf/make.conf.sh.diff
index 5032c85e..774c7b7f 100644
--- a/cnf/make.conf.sh.diff
+++ b/cnf/make.conf.sh.diff
@@ -31,7 +31,7 @@
+# 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.
++# Don't use -O2. 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
diff --git a/cnf/make.conf.sparc.diff b/cnf/make.conf.sparc.diff
index 68c44282..e73357b0 100644
--- a/cnf/make.conf.sparc.diff
+++ b/cnf/make.conf.sparc.diff
@@ -48,8 +48,8 @@
+#
+# Decent examples:
+#
-+#CFLAGS="-mcpu=supersparc -O3 -pipe"
-+#CFLAGS="-mcpu=ultrasparc -O3 -pipe"
++#CFLAGS="-mcpu=supersparc -O2 -pipe"
++#CFLAGS="-mcpu=ultrasparc -O2 -pipe"
+#CFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe"
+
# If you set a CFLAGS above, then this line will set your default C++ flags to
diff --git a/cnf/make.conf.x86-fbsd.diff b/cnf/make.conf.x86-fbsd.diff
index 787bc352..c2cf7cb7 100644
--- a/cnf/make.conf.x86-fbsd.diff
+++ b/cnf/make.conf.x86-fbsd.diff
@@ -48,8 +48,8 @@
#
+# Decent examples:
+#
-+#CFLAGS="-mtune=athlon-xp -O3 -pipe"
-+#CFLAGS="-march=pentium3 -O3 -pipe"
++#CFLAGS="-mtune=athlon-xp -O2 -pipe"
++#CFLAGS="-march=pentium3 -O2 -pipe"
+
# If you set a CFLAGS above, then this line will set your default C++ flags to
# the same settings.
diff --git a/cnf/make.conf.x86.diff b/cnf/make.conf.x86.diff
index 04e48b61..3e9594ab 100644
--- a/cnf/make.conf.x86.diff
+++ b/cnf/make.conf.x86.diff
@@ -79,8 +79,8 @@
+# NOTE: the -On optimization levels are set with the letter O, not -0 (zero).
+#
+# Decent examples:
-+#CFLAGS="-mcpu=athlon-xp -O3 -pipe"
-+#CFLAGS="-march=pentium3 -O3 -pipe"
++#CFLAGS="-mcpu=athlon-xp -O2 -pipe"
++#CFLAGS="-march=pentium3 -O2 -pipe"
+
# If you set a CFLAGS above, then this line will set your default C++ flags to
# the same settings.