]> git.pld-linux.org Git - packages/fox.git/blob - fox-opt.patch
Release 2 (by relup.sh)
[packages/fox.git] / fox-opt.patch
1 --- fox-1.7.84/configure.ac.orig        2023-09-11 23:22:01.000000000 +0200
2 +++ fox-1.7.84/configure.ac     2023-10-25 06:16:57.746509915 +0200
3 @@ -65,9 +65,6 @@ AC_SUBST(LT_CURRENT)
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 @@ -133,7 +130,7 @@ AC_MSG_CHECKING(for debugging)
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 @@ -141,7 +138,7 @@ AC_MSG_CHECKING(for release build)
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} -O3 -DNDEBUG"
27 +  CXXFLAGS="${CXXFLAGS} -DNDEBUG"
28    if test "${GXX}" = "yes" ; then
29      CXXFLAGS="${CXXFLAGS} -ffast-math -fstrict-overflow -fstrict-aliasing -finline-functions -fomit-frame-pointer -fcf-protection=none -fno-stack-protector"
30      LDFLAGS="-s ${LDFLAGS}"
This page took 0.140195 seconds and 4 git commands to generate.