Turn off C2X warning about deprecated K&R function syntax.

This is a temporary workaround before excising the K&R prototypes.
This commit is contained in:
Mark Adler 2023-04-13 20:09:52 -07:00
parent 7e6dc429af
commit 5799c14c85
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -194,8 +194,8 @@ show $cc -c $test.c
if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
echo ... using gcc >> configure.log
CC="$cc"
CFLAGS="${CFLAGS--O3}"
SFLAGS="${CFLAGS--O3} -fPIC"
CFLAGS="${CFLAGS--O3} -Wno-deprecated-non-prototype"
SFLAGS="${CFLAGS--O3} -Wno-deprecated-non-prototype -fPIC"
if test "$ARCHS"; then
CFLAGS="${CFLAGS} ${ARCHS}"
LDFLAGS="${LDFLAGS} ${ARCHS}"