summaryrefslogtreecommitdiff
path: root/chat/jabberd2/patches/patch-af
blob: 98bf7da1c665ba406c84e8d7994d93e3470e3790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.5 2010/04/15 07:02:51 adam Exp $

--- configure.orig	2010-02-22 07:15:14.000000000 +0000
+++ configure
@@ -11394,7 +11394,7 @@ fi
 # check for optimisation level
 { $as_echo "$as_me:$LINENO: checking CFLAGS optimization level" >&5
 $as_echo_n "checking CFLAGS optimization level... " >&6; }
-if echo $CFLAGS | grep '.*-O[3s].*' >/dev/null 2>&1; then
+if echo $CFLAGS | grep '.*-O[3].*' >/dev/null 2>&1; then
     { { $as_echo "$as_me:$LINENO: error: maximum allowed optimization level is -O2" >&5
 $as_echo "$as_me: error: maximum allowed optimization level is -O2" >&2;}
    { (exit 1); exit 1; }; }