diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-08-22 09:40:36 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-09-01 08:30:56 -0700 |
commit | 285b5070bbc877f08bfa088981e1e02831f855d0 (patch) | |
tree | c90b1974ffd8737bd3a63bc78cdce673d86b094d /meta | |
parent | ebbbada5b8ba6b935584841fdaf8cc270d6800e7 (diff) | |
download | poky-285b5070bbc877f08bfa088981e1e02831f855d0.tar.gz |
cpio: Pin to use C17 std
Fixes build with GCC-15 which is defaulting to C23
For scarthgap also add it in BUILD_CFLAGS.
(From OE-Core rev: 874701c4fd96134e18f73eba4bd5c8b513ad251b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/cpio/cpio_2.15.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/cpio/cpio_2.15.bb b/meta/recipes-extended/cpio/cpio_2.15.bb index 95f82cdf3a..a5c9b76da2 100644 --- a/meta/recipes-extended/cpio/cpio_2.15.bb +++ b/meta/recipes-extended/cpio/cpio_2.15.bb | |||
@@ -20,6 +20,9 @@ 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 | BUILD_CFLAGS += "-std=gnu17" | ||
25 | |||
23 | do_install () { | 26 | do_install () { |
24 | autotools_do_install | 27 | autotools_do_install |
25 | if [ "${base_bindir}" != "${bindir}" ]; then | 28 | if [ "${base_bindir}" != "${bindir}" ]; then |