meh, wrong gcc flag

This commit is contained in:
tg 2013-05-22 19:24:32 +00:00
parent c8a3127ea7
commit 407734d305
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.634 2013/05/22 18:56:50 tg Exp $' srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.635 2013/05/22 19:24:32 tg Exp $'
#- #-
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012, 2013 # 2011, 2012, 2013
@ -1181,7 +1181,7 @@ i=0
if test $ct = gcc; then if test $ct = gcc; then
# The following tests run with -Werror (gcc only) if possible # The following tests run with -Werror (gcc only) if possible
NOWARN=$DOWARN; phase=u NOWARN=$DOWARN; phase=u
ac_flags 1 wnodeprecated -Wno-deprecated ac_flags 1 wnodeprecateddecls -Wno-deprecated-declarations
# mksh is not written in CFrustFrust! # mksh is not written in CFrustFrust!
ac_flags 1 no_eh_frame -fno-asynchronous-unwind-tables ac_flags 1 no_eh_frame -fno-asynchronous-unwind-tables
ac_flags 1 fnostrictaliasing -fno-strict-aliasing ac_flags 1 fnostrictaliasing -fno-strict-aliasing
@ -1541,7 +1541,7 @@ else
#define EXTERN #define EXTERN
#define MKSH_INCLUDES_ONLY #define MKSH_INCLUDES_ONLY
#include "sh.h" #include "sh.h"
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.634 2013/05/22 18:56:50 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.635 2013/05/22 19:24:32 tg Exp $");
int main(void) { printf("Hello, World!\n"); return (0); } int main(void) { printf("Hello, World!\n"); return (0); }
EOF EOF
case $cm in case $cm in