]>
Commit | Line | Data |
---|---|---|
ba52950b JB |
1 | --- fox-1.6.44/configure.ac.orig 2011-02-10 02:25:34.000000000 +0100 |
2 | +++ fox-1.6.44/configure.ac 2011-05-13 15:28:57.982557225 +0200 | |
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 | @@ -118,7 +115,7 @@ | |
ebe5cc7e 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 | |
ba52950b JB |
17 | - CXXFLAGS="${CXXFLAGS} -g -DDEBUG" |
18 | + CXXFLAGS="${CXXFLAGS} -DDEBUG" | |
ebe5cc7e JB |
19 | fi |
20 | ||
ba52950b JB |
21 | # Building for release |
22 | @@ -126,10 +123,9 @@ | |
ebe5cc7e 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 | |
ba52950b JB |
26 | - CXXFLAGS="${CXXFLAGS} -O2 -DNDEBUG" |
27 | + CXXFLAGS="${CXXFLAGS} -DNDEBUG" | |
28 | if test "${GXX}" = "yes" ; then | |
29 | CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer -fexpensive-optimizations" | |
30 | - LDFLAGS="-s ${LDFLAGS}" | |
31 | fi | |
ebe5cc7e | 32 | fi |
ba52950b | 33 |