From: Khem Raj Date: Mon, 24 Mar 2025 16:33:39 +0000 (-0700) Subject: gperf: Pin to C17 std X-Git-Tag: 2025-04-walnascar~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27c869a671632d4cfeb26585b23b37d3a06066be;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git gperf: Pin to C17 std gperf needs to be ported to work with C23 standard especially around getopt function signatures Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/gperf/gperf_3.1.bb b/meta/recipes-extended/gperf/gperf_3.1.bb index c57ade9fe38..9175bc13e62 100644 --- a/meta/recipes-extended/gperf/gperf_3.1.bb +++ b/meta/recipes-extended/gperf/gperf_3.1.bb @@ -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"