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:
parent
7e6dc429af
commit
5799c14c85
4
configure
vendored
4
configure
vendored
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user