]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gperf: Pin to C17 std
authorKhem Raj <raj.khem@gmail.com>
Mon, 24 Mar 2025 16:33:39 +0000 (09:33 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 26 Mar 2025 18:45:14 +0000 (18:45 +0000)
gperf needs to be ported to work with C23 standard
especially around getopt function signatures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/gperf/gperf_3.1.bb

index c57ade9fe3817e4355ae92fec9cc24d619f320c9..9175bc13e623e08e0ce1824d9eda3fd7c54f1d04 100644 (file)
@@ -18,4 +18,6 @@ inherit autotools
 # it where to look explicitly (mirroring the behaviour of upstream's Makefile.devel).
 EXTRA_AUTORECONF += " -I ${S} --exclude=aclocal"
 
+CFLAGS += "-std=gnu17"
+
 BBCLASSEXTEND = "native nativesdk"