]> git.ipfire.org Git - thirdparty/iproute2.git/commit
configure: Add _GNU_SOURCE to strlcpy configure test
authorSam James <sam@gentoo.org>
Sat, 2 Dec 2023 02:47:04 +0000 (02:47 +0000)
committerDavid Ahern <dsahern@kernel.org>
Wed, 6 Dec 2023 17:02:28 +0000 (17:02 +0000)
commit0a24c18d30f42ffc79b6330d47ce6f02027a2471
treefbc9ddc34babe99dfda6756cdca37f7a139494fd
parent6174b7283295393ea909e07a1cd503cb160567d6
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 <sam@gentoo.org>
Signed-off-by: David Ahern <dsahern@kernel.org>
configure