diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-03-19 01:15:50 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-19 09:48:14 +0000 |
| commit | 983b0a6f3bab8c0dbfb6e86b8d630b058e3d1bdf (patch) | |
| tree | dfca6421b52745944759bad2e16cd3b896b9716f | |
| parent | 8c1ca5e123eeffdbad44c9fe6006657b3119ea4b (diff) | |
| download | poky-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.bb | 2 |
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 | ||
| 21 | EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}" | 21 | EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}" |
| 22 | 22 | ||
| 23 | CFLAGS += "-std=gnu17" | ||
| 24 | |||
| 23 | do_install () { | 25 | do_install () { |
| 24 | autotools_do_install | 26 | autotools_do_install |
| 25 | if [ "${base_bindir}" != "${bindir}" ]; then | 27 | if [ "${base_bindir}" != "${bindir}" ]; then |
