]>
Commit | Line | Data |
---|---|---|
2f26eac1 JB |
1 | --- fox-1.7.26/configure.ac.orig 2011-04-13 02:14:35.000000000 +0200 |
2 | +++ fox-1.7.26/configure.ac 2011-05-28 07:38:29.803780335 +0200 | |
2ed7f4b6 JB |
3 | @@ -56,9 +56,6 @@ |
4 | AC_SUBST(LT_REVISION) | |
5 | AC_SUBST(LT_AGE) | |
6 | ||
7 | -# Prevents setting flags. | |
8 | -CXXFLAGS="" | |
9 | - | |
10 | # More secret source | |
11 | AC_GNU_SOURCE | |
12 | ||
13 | @@ -120,7 +117,7 @@ | |
c9aea078 JB |
14 | AC_ARG_ENABLE(debug,[ --enable-debug compile for debugging]) |
15 | AC_MSG_RESULT([$enable_debug]) | |
16 | if test "x$enable_debug" = "xyes" ; then | |
2ed7f4b6 JB |
17 | - CXXFLAGS="${CXXFLAGS} -g -DDEBUG" |
18 | + CXXFLAGS="${CXXFLAGS} -DDEBUG" | |
c9aea078 | 19 | fi |
2ed7f4b6 JB |
20 | |
21 | # Building for release | |
22 | @@ -128,10 +125,9 @@ | |
c9aea078 JB |
23 | AC_ARG_ENABLE(release,[ --enable-release compile for release]) |
24 | AC_MSG_RESULT([$enable_release]) | |
25 | if test "x$enable_release" = "xyes" ; then | |
2ed7f4b6 JB |
26 | - CXXFLAGS="${CXXFLAGS} -O2 -DNDEBUG" |
27 | + CXXFLAGS="${CXXFLAGS} -DNDEBUG" | |
28 | if test "${GXX}" = "yes" ; then | |
2f26eac1 | 29 | CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer" |
2ed7f4b6 JB |
30 | - LDFLAGS="-s ${LDFLAGS}" |
31 | fi | |
c9aea078 | 32 | fi |
2ed7f4b6 | 33 |