diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-10-01 22:58:37 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-10-09 12:16:46 -0700 |
| commit | ddda72f2bd20bbd18429e7426c6cc0782276f9fc (patch) | |
| tree | 064777f47021f01a94d181819b293f6411f01f12 /meta | |
| parent | b95695a302fc29413c8dfa2ea485c9a46983f0d5 (diff) | |
| download | poky-ddda72f2bd20bbd18429e7426c6cc0782276f9fc.tar.gz | |
expect: Fix build with GCC 15
Stick to C17 standard as GCC 15 switches to C23
(From OE-Core rev: a1ac756f2f55c4f27a95cb8b1e63ee2db06dd327)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/expect/expect_5.45.4.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 48f7e1a539..a89b48ef1c 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb | |||
| @@ -41,6 +41,8 @@ S = "${WORKDIR}/${BPN}${PV}" | |||
| 41 | 41 | ||
| 42 | EXTRA_AUTORECONF += "--exclude=aclocal" | 42 | EXTRA_AUTORECONF += "--exclude=aclocal" |
| 43 | 43 | ||
| 44 | CFLAGS += "-std=gnu17" | ||
| 45 | |||
| 44 | do_install:append() { | 46 | do_install:append() { |
| 45 | mv ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ | 47 | mv ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ |
| 46 | install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/ | 48 | install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/ |
