blob: b947aa58a5fca9e8523ed76a45cc9db51209a574 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-configure,v 1.2 2011/02/12 18:50:14 adam Exp $
--- configure.orig 2010-08-08 15:51:09.000000000 +0000
+++ configure
@@ -10875,7 +10875,7 @@ fi
# check for optimisation level
{ $as_echo "$as_me:${as_lineno-$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_fn_error "maximum allowed optimization level is -O2" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: fine" >&5
|