From 03f23119383e80c988e1cc9b5a0a8c8722137d58 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 24 Mar 2025 09:33:39 -0700 Subject: [PATCH] gperf: Pin to C17 std gperf needs to be ported to work with C23 standard especially around getopt function signatures (From OE-Core rev: 27c869a671632d4cfeb26585b23b37d3a06066be) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-extended/gperf/gperf_3.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/gperf/gperf_3.1.bb b/meta/recipes-extended/gperf/gperf_3.1.bb index c57ade9fe3..9175bc13e6 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"