1 --- fox-1.7.57/configure.ac.orig 2016-07-08 20:07:27.000000000 +0200
2 +++ fox-1.7.57/configure.ac 2017-02-05 22:23:07.410090151 +0100
7 -# Prevents setting flags.
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
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} -O2 -DNDEBUG"
27 + CXXFLAGS="${CXXFLAGS} -DNDEBUG"
28 if test "${GXX}" = "yes" ; then
29 CXXFLAGS="${CXXFLAGS} -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer"
30 - LDFLAGS="-s ${LDFLAGS}"