From 6f30f395bfabc208aa94110481e909f10b757ae4 Mon Sep 17 00:00:00 2001 From: tg Date: Sun, 9 Sep 2007 11:55:44 +0000 Subject: [PATCH] =?UTF-8?q?-std=3Dfoo=20can=E2=80=99t=20be=20made=20fatal?= =?UTF-8?q?=20even=20with=20-Werror,=20live=20with=20it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Build.sh b/Build.sh index ce9c3d9..3c1f073 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirOS: src/bin/mksh/Build.sh,v 1.254 2007/09/09 11:04:30 tg Exp $ +# $MirOS: src/bin/mksh/Build.sh,v 1.255 2007/09/09 11:55:44 tg Exp $ #- # Environment used: CC CFLAGS CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS # CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM @@ -550,11 +550,9 @@ elif test $ct = tcc; then fi # flags common to a subset of compilers if test 1 = $i; then - NOWARN=$DOWARN # run block with -Werror... ac_flags 1 stdg99 -std=gnu99 'for support of ISO C99 + GCC extensions' test 1 = $HAVE_CAN_STDG99 || \ ac_flags 1 stdc99 -std=c99 'for support of ISO C99' - NOWARN=$save_NOWARN # ... until here ac_flags 1 wall -Wall fi ac_test expstmt '' "if the compiler supports statements as expressions" <<-'EOF'