]> git.pld-linux.org Git - packages/fox.git/blob - fox-opt.patch
- rebuild without libjpeg.la
[packages/fox.git] / fox-opt.patch
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
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 @@ -125,7 +122,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  # Building for release
22 @@ -133,10 +130,9 @@
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}"
31    fi
32  fi
33  
This page took 0.036516 seconds and 3 git commands to generate.