From a38252f346224254b7ea61c760c55ec7c07f312f Mon Sep 17 00:00:00 2001 From: Ned Ludd Date: Sun, 12 Aug 2007 18:18:35 +0000 Subject: 'decent' CFLAGS should not feature -O3. Bug 188619 svn path=/main/trunk/; revision=7596 --- cnf/make.conf.ppc.diff | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cnf/make.conf.ppc.diff') 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): +# -- cgit v1.2.3-1-g7c22