macOS: silence the "vfork() is deprecated" warning spam.

This was the resolution from the discussion on mailing list; basically
"if Apple does remove vfork(), things will break quite obviously,
and we'll deal with it then".

The apparent alternative mentioned on the mailing list of setting
_POSIX_C_SOURCE doesn't work, because that *removes* the declaration
of chroot().
This commit is contained in:
Elliott Hughes 2022-05-16 09:07:45 -07:00 committed by Rob Landley
parent 95b79373ba
commit 0476d6d1e2

2
configure vendored
View File

@ -12,7 +12,7 @@ then
fi
# Warn about stuff, disable stupid warnings, be 8-bit clean for utf8.
CFLAGS+=" -Wall -Wundef -Werror=implicit-function-declaration -Wno-char-subscripts -Wno-pointer-sign -Wno-string-plus-int -funsigned-char"
CFLAGS+=" -Wall -Wundef -Werror=implicit-function-declaration -Wno-char-subscripts -Wno-deprecated-declarations -Wno-pointer-sign -Wno-string-plus-int -funsigned-char"
# Set default values if variable not already set
: ${CC:=cc} ${HOSTCC:=cc} ${GENDIR:=generated} ${KCONFIG_CONFIG:=.config}