Author: eb
Date: 2007-08-29 18:11:16 -0600 (Wed, 29 Aug 2007)
New Revision: 6212
Modified:
gnuradio/trunk/configure.ac
Log:
fixes ticket:144; works around g++/PPC -O1 bug
Modified: gnuradio/trunk/configure.ac
===================================================================
--- gnuradio/trunk/configure.ac 2007-08-29 21:29:49 UTC (rev 6211)
+++ gnuradio/trunk/configure.ac 2007-08-30 00:11:16 UTC (rev 6212)
@@ -49,14 +49,11 @@
autoconf_default_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=""
if test "$GXX" = yes; then
- case "$host_os" in
- darwin*)
- if test "$host_cpu" = i386; then
- swig_CXXFLAGS="-g1 -O1"
- else
- # "-O1" breaks PPC-OSX for some reason
+ case "$host_cpu" in
+ powerpc*)
+ # "-O1" is broken on the PPC for some reason
+ # (at least as of g++ 4.1.1)
swig_CXXFLAGS="-g1 -O2"
- fi
;;
*)
swig_CXXFLAGS="-g1 -O1"
_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio