summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-03-19 01:15:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-19 09:48:14 +0000
commit983b0a6f3bab8c0dbfb6e86b8d630b058e3d1bdf (patch)
treedfca6421b52745944759bad2e16cd3b896b9716f
parent8c1ca5e123eeffdbad44c9fe6006657b3119ea4b (diff)
downloadpoky-983b0a6f3bab8c0dbfb6e86b8d630b058e3d1bdf.tar.gz
cpio: Pin to use C17 std
Fixes build with GCC-15 which is defaulting to C23 (From OE-Core rev: c4978268a4714466ecdec14d865a61adc47f3b3b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/cpio/cpio_2.15.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/cpio/cpio_2.15.bb b/meta/recipes-extended/cpio/cpio_2.15.bb
index bfaf5c31c3..b081bd53db 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
20 20
21EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}" 21EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}"
22 22
23CFLAGS += "-std=gnu17"
24
23do_install () { 25do_install () {
24 autotools_do_install 26 autotools_do_install
25 if [ "${base_bindir}" != "${bindir}" ]; then 27 if [ "${base_bindir}" != "${bindir}" ]; then