]> git.pld-linux.org Git - packages/fox.git/blob - fox-opt.patch
- up to 1.6.0 stable (builds, not tested)
[packages/fox.git] / fox-opt.patch
1 --- fox-1.0.30/configure.in.orig        Sat Jan 11 06:01:11 2003
2 +++ fox-1.0.30/configure.in     Tue Jan 28 19:29:29 2003
3 @@ -49,9 +49,6 @@
4  AC_SUBST(LT_REVISION)
5  AC_SUBST(LT_AGE)
6  
7 -dnl Prevents setting flags.
8 -CXXFLAGS=""
9 -
10  dnl Checks for programs.
11  AC_PROG_MAKE_SET
12  AC_PROG_CC
13 @@ -240,7 +237,7 @@
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"
19  fi
20  
21  dnl Building for release
22 @@ -248,7 +245,7 @@
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} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
30  fi
This page took 0.100119 seconds and 3 git commands to generate.