Browse Source

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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Khem Raj 2 months ago
parent
commit
f15ce0904f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      meta-oe/recipes-devtools/jq/jq_1.7.1.bb

+ 3 - 0
meta-oe/recipes-devtools/jq/jq_1.7.1.bb

@@ -26,6 +26,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 += "-std=gnu17"
+
 do_configure:append() {
 	sed -i -e "/^ac_cs_config=/ s:${WORKDIR}::g" ${B}/config.status
 }