nwcc accepts -std=gnu99 (but doesn't process it yet) and -Wall

This commit is contained in:
tg 2009-07-07 18:42:47 +00:00
parent fca27ce872
commit 649eaa7244
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.405 2009/07/07 18:39:51 tg Exp $'
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.406 2009/07/07 18:42:47 tg Exp $'
#-
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Thorsten Glaser <tg@mirbsd.org>
@ -844,6 +844,7 @@ elif test $ct = tcc; then
elif test $ct = clang; then
i=1
elif test $ct = nwcc; then
i=1
ac_flags 1 ssp -stackprotect
fi
# flags common to a subset of compilers (run with -Werror on gcc)