From: Sam James Date: Sat, 2 Dec 2023 02:47:04 +0000 (+0000) Subject: configure: Add _GNU_SOURCE to strlcpy configure test X-Git-Tag: v6.8.0~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a24c18d30f42ffc79b6330d47ce6f02027a2471;p=thirdparty%2Fiproute2.git configure: Add _GNU_SOURCE to strlcpy configure test >=glibc-2.38 adds strlcpy but it's guarded under a feature-test macro. Just add _GNU_SOURCE to the configure test because we already pass _GNU_SOURCE unconditionally in the Makefiles when building iproute2. Signed-off-by: Sam James Signed-off-by: David Ahern --- diff --git a/configure b/configure index eb689341d..78bc52c00 100755 --- a/configure +++ b/configure @@ -445,6 +445,7 @@ EOF check_strlcpy() { cat >$TMPDIR/strtest.c < int main(int argc, char **argv) { char dst[10];