[packages] monit: update to 5.2.5
[packages.git] / admin / pmacct / patches / 001-honor_cflags.patch
1 --- a/configure
2 +++ b/configure
3 @@ -1083,7 +1083,7 @@ fi
4
5
6  if test "x$ac_cv_prog_gcc" = xyes ; then
7 -  CFLAGS="-O2"
8 +  CFLAGS="-O2 ${CFLAGS}"
9    case "$host_os" in
10      IRIX*)
11        CFLAGS="-mabi=n32 -fno-builtins ${CFLAGS}"
12 @@ -1097,7 +1097,7 @@ else
13        LDFLAGS="-n32 -L/usr/lib32 -L/usr/freeware/lib32 ${LDFLAGS}"
14        ;;
15      OSF*)
16 -      CFLAGS="-O -assume noaligned_objects"
17 +      CFLAGS="-O -assume noaligned_objects ${CFLAGS}"
18        ;;
19    esac
20  fi