1 --- fox-1.7.84/configure.ac.orig 2023-09-11 23:22:01.000000000 +0200
2 +++ fox-1.7.84/configure.ac 2023-10-25 06:16:57.746509915 +0200
3 @@ -65,9 +65,6 @@ AC_SUBST(LT_CURRENT)
7 -# Prevents setting flags.
13 @@ -133,7 +130,7 @@ AC_MSG_CHECKING(for debugging)
14 AC_ARG_ENABLE(debug,[ --enable-debug compile for debugging])
15 AC_MSG_RESULT([$enable_debug])
16 if test "x$enable_debug" = "xyes" ; then
17 - CXXFLAGS="${CXXFLAGS} -g -DDEBUG"
18 + CXXFLAGS="${CXXFLAGS} -DDEBUG"
21 # Building for release
22 @@ -141,7 +138,7 @@ AC_MSG_CHECKING(for release build)
23 AC_ARG_ENABLE(release,[ --enable-release compile for release])
24 AC_MSG_RESULT([$enable_release])
25 if test "x$enable_release" = "xyes" ; then
26 - CXXFLAGS="${CXXFLAGS} -O3 -DNDEBUG"
27 + CXXFLAGS="${CXXFLAGS} -DNDEBUG"
28 if test "${GXX}" = "yes" ; then
29 CXXFLAGS="${CXXFLAGS} -ffast-math -fstrict-overflow -fstrict-aliasing -finline-functions -fomit-frame-pointer -fcf-protection=none -fno-stack-protector"
30 LDFLAGS="-s ${LDFLAGS}"