--- fox-1.6.44/configure.ac.orig 2011-02-10 02:25:34.000000000 +0100 +++ fox-1.6.44/configure.ac 2011-05-13 15:28:57.982557225 +0200 @@ -56,9 +56,6 @@ AC_SUBST(LT_REVISION) AC_SUBST(LT_AGE) -# Prevents setting flags. -CXXFLAGS="" - # More secret source AC_GNU_SOURCE @@ -118,7 +115,7 @@ AC_ARG_ENABLE(debug,[ --enable-debug compile for debugging]) AC_MSG_RESULT([$enable_debug]) if test "x$enable_debug" = "xyes" ; then - CXXFLAGS="${CXXFLAGS} -g -DDEBUG" + CXXFLAGS="${CXXFLAGS} -DDEBUG" fi # Building for release @@ -126,10 +123,9 @@ AC_ARG_ENABLE(release,[ --enable-release compile for release]) AC_MSG_RESULT([$enable_release]) if test "x$enable_release" = "xyes" ; then - CXXFLAGS="${CXXFLAGS} -O2 -DNDEBUG" + CXXFLAGS="${CXXFLAGS} -DNDEBUG" if test "${GXX}" = "yes" ; then CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer -fexpensive-optimizations" - LDFLAGS="-s ${LDFLAGS}" fi fi