From: Khem Raj Date: Sun, 17 Aug 2025 22:58:15 +0000 (+0200) Subject: bash: Stick to C17 std X-Git-Tag: 2024-04.12~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adf63fe5f76cbd0fd93ce5fa23229a388211e992;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git bash: Stick to C17 std GCC 15 defaults to C23 and bash is not yet ready for that so keep using C17 like GCC 14 for now Signed-off-by: Khem Raj Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- diff --git a/meta/recipes-extended/bash/bash_5.2.21.bb b/meta/recipes-extended/bash/bash_5.2.21.bb index ccfe5c47a7e..42ab02c440f 100644 --- a/meta/recipes-extended/bash/bash_5.2.21.bb +++ b/meta/recipes-extended/bash/bash_5.2.21.bb @@ -22,4 +22,6 @@ SRC_URI[tarball.sha256sum] = "c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b DEBUG_OPTIMIZATION:append:armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}" DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}" +CFLAGS += "-std=gnu17" + BBCLASSEXTEND = "nativesdk"