From: Khem Raj Date: Wed, 19 Mar 2025 08:15:50 +0000 (-0700) Subject: cpio: Pin to use C17 std X-Git-Tag: yocto-5.2~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c4978268a4714466ecdec14d865a61adc47f3b3b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cpio: Pin to use C17 std Fixes build with GCC-15 which is defaulting to C23 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/cpio/cpio_2.15.bb b/meta/recipes-extended/cpio/cpio_2.15.bb index bfaf5c31c37..b081bd53db5 100644 --- a/meta/recipes-extended/cpio/cpio_2.15.bb +++ b/meta/recipes-extended/cpio/cpio_2.15.bb @@ -20,6 +20,8 @@ CVE_STATUS[CVE-2023-7216] = "disputed: intended behaviour, see https://lists.gnu EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}" +CFLAGS += "-std=gnu17" + do_install () { autotools_do_install if [ "${base_bindir}" != "${bindir}" ]; then