--- fox-1.7.57/configure.ac.orig 2016-07-08 20:07:27.000000000 +0200 +++ fox-1.7.57/configure.ac 2017-02-05 22:23:07.410090151 +0100 @@ -56,9 +56,6 @@ AC_SUBST(LT_REVISION) AC_SUBST(LT_AGE) -# Prevents setting flags. -CXXFLAGS="" - # More secret source AC_GNU_SOURCE @@ -125,7 +122,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 @@ -133,10 +130,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} -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer" - LDFLAGS="-s ${LDFLAGS}" fi fi