--- fox-1.7.26/configure.ac.orig 2011-04-13 02:14:35.000000000 +0200 +++ fox-1.7.26/configure.ac 2011-05-28 07:38:29.803780335 +0200 @@ -56,9 +56,6 @@ AC_SUBST(LT_REVISION) AC_SUBST(LT_AGE) -# Prevents setting flags. -CXXFLAGS="" - # More secret source AC_GNU_SOURCE @@ -120,7 +117,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 @@ -128,10 +125,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" - LDFLAGS="-s ${LDFLAGS}" fi fi