-std=foo can’t be made fatal even with -Werror, live with it
This commit is contained in:
parent
b06d40f8f2
commit
6f30f395bf
4
Build.sh
4
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'
|
||||
|
|
Loading…
Reference in New Issue