From 649eaa7244c04c1384b093b3dbf31d4632fb8316 Mon Sep 17 00:00:00 2001 From: tg Date: Tue, 7 Jul 2009 18:42:47 +0000 Subject: [PATCH] nwcc accepts -std=gnu99 (but doesn't process it yet) and -Wall --- Build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Build.sh b/Build.sh index 48eff77..102ba6e 100644 --- a/Build.sh +++ b/Build.sh @@ -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 @@ -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)