summaryrefslogtreecommitdiffstats
path: root/cnf/make.conf.ppc.diff
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 /cnf/make.conf.ppc.diff
parent35c035842c364c81635f6be63f6e13debb582255 (diff)
downloadportage-a38252f346224254b7ea61c760c55ec7c07f312f.tar.gz
portage-a38252f346224254b7ea61c760c55ec7c07f312f.tar.bz2
portage-a38252f346224254b7ea61c760c55ec7c07f312f.zip
'decent' CFLAGS should not feature -O3. Bug 188619
svn path=/main/trunk/; revision=7596
Diffstat (limited to 'cnf/make.conf.ppc.diff')
-rw-r--r--cnf/make.conf.ppc.diff6
1 files changed, 3 insertions, 3 deletions
diff --git a/cnf/make.conf.ppc.diff b/cnf/make.conf.ppc.diff
index f01a2da3c..2be03cb42 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):
+#