|author||Ned Ludd <email@example.com>||2007-08-12 18:18:35 +0000|
|committer||Ned Ludd <firstname.lastname@example.org>||2007-08-12 18:18:35 +0000|
|parent||For bug #33585, leave the old info dir file in place if there is nothing to g... (diff)|
'decent' CFLAGS should not feature -O3. Bug 188619
svn path=/main/trunk/; revision=7596
Diffstat (limited to 'cnf/make.conf.ppc.diff')
1 files changed, 3 insertions, 3 deletions
diff --git a/cnf/make.conf.ppc.diff b/cnf/make.conf.ppc.diff
index f01a2da3..2be03cb4 100644
@@ -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):