From ae7dfb12245c7f9b9a353499e2688015bd4e6413 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 29 Apr 2026 10:33:34 +0300 Subject: [PATCH] jq: Stick to C17 until next release Patches are sprinkled in master branch of jq but the backports regresses tests, so its better to keep it at C17 for now. Backport: changed from += to :append to apply to all target, native and nativesdk builds. Signed-off-by: Khem Raj Cc: Martin Jansa Signed-off-by: Mikko Rapeli Signed-off-by: Anuj Mittal --- meta-oe/recipes-devtools/jq/jq_1.7.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-devtools/jq/jq_1.7.1.bb b/meta-oe/recipes-devtools/jq/jq_1.7.1.bb index 4ef95bd824..98f06af3b9 100644 --- a/meta-oe/recipes-devtools/jq/jq_1.7.1.bb +++ b/meta-oe/recipes-devtools/jq/jq_1.7.1.bb @@ -35,6 +35,9 @@ PACKAGECONFIG[oniguruma] = "--with-oniguruma,--without-oniguruma,onig" # enable if you want ptest running under valgrind PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind" +# Gets going with gcc-15 but See if it can be removed with next upgrade +CFLAGS:append = " -std=gnu17" + do_configure:append() { sed -i -e "/^ac_cs_config=/ s:${WORKDIR}::g" ${B}/config.status }