From 0476d6d1e25eb74588726944229ecfef8e0198f6 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 16 May 2022 09:07:45 -0700 Subject: [PATCH] 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(). --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 6dc2a49bc..f70458e81 100755 --- a/configure +++ b/configure @@ -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}