mach: Fix passing -ffreestanding when checking for gnumach headers
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 19 Dec 2022 01:34:55 +0000 (02:34 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 19 Dec 2022 01:34:55 +0000 (02:34 +0100)
commit7685630b98ca2a3f5de86eadf130993e6cf998a0
tree20afda4e5b41f576de3c419e26b749764daf878d
parent8b8c768e3c701ed1993789bb46acb8a12c7a93df
mach: Fix passing -ffreestanding when checking for gnumach headers

8b8c768e3c70 ("Force use of -ffreestanding when checking for gnumach
headers") was passing -ffreestanding to CFLAGS only, but headers checks are
performed with the preprocessor, so we rather need to pass it to CPPFLAGS.
sysdeps/mach/configure
sysdeps/mach/configure.ac