diff --git a/Build.sh b/Build.sh index eaaef32..d4610e0 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.597 2012/12/03 22:10:02 tg Exp $' +srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.598 2012/12/05 19:38:05 tg Exp $' #- # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 @@ -1154,6 +1154,8 @@ if test $ct = gcc; then # The following tests run with -Werror (gcc only) if possible NOWARN=$DOWARN; phase=u ac_flags 0 wnooverflow -Wno-overflow + # mksh is not written in CFrustFrust! + ac_flags 1 no_eh_frame -fno-asynchronous-unwind-tables ac_flags 1 fnostrictaliasing -fno-strict-aliasing ac_flags 1 fstackprotectorall -fstack-protector-all test $cm = dragonegg && case " $CC $CFLAGS $LDFLAGS " in @@ -1480,7 +1482,7 @@ else #define EXTERN #define MKSH_INCLUDES_ONLY #include "sh.h" - __RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.597 2012/12/03 22:10:02 tg Exp $"); + __RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.598 2012/12/05 19:38:05 tg Exp $"); int main(void) { printf("Hello, World!\n"); return (0); } EOF case $cm in