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>
This commit is contained in:
Khem Raj
2025-03-19 01:15:50 -07:00
committed by Richard Purdie
parent 8c1ca5e123
commit 983b0a6f3b

View File

@@ -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