Got it! It's the line: swig_CXXFLAGS="-g1 -O1"
in "gnuradio/configure.ac". Changing this to "-O2" does the trick. I've created a branch at < http://gnuradio.org/svn/gnuradio/branches/ developers/michaelld/t141 > with the change. I don't think it will affect any other os except Darwin ... hope I got the syntax correct. It works for me. Here's the svn diff:
Index: configure.ac =================================================================== --- configure.ac (revision 4720) +++ configure.ac (working copy) @@ -49,7 +49,15 @@ autoconf_default_CXXFLAGS="$CXXFLAGS" CXXFLAGS="" if test "$GXX" = yes; then - swig_CXXFLAGS="-g1 -O1" + case "$host_os" in + darwin*) + # "-O1" breaks PPC-OSX for some reason + swig_CXXFLAGS="-g -O2" + ;; + *) + swig_CXXFLAGS="-g1 -O1" + ;; + esac fi fi AC_SUBST(autoconf_default_CXXFLAGS) _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
