summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-03-19 01:15:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-19 12:09:06 +0000
commit4d4d61f961a5577a8721b6ff1e2efda8ab2a71f5 (patch)
tree7797d567354f528c00a3dcb8c62404dba4ec88f4
parent58deeacb07a00a9e7975d204b1ecd46c348b9eec (diff)
downloadpoky-4d4d61f961a5577a8721b6ff1e2efda8ab2a71f5.tar.gz
expect: Fix build with GCC 15
Stick to C17 standard as GCC 15 switches to C23 (From OE-Core rev: 4ae08da819d1bc5fee382651c3fe074e9be9d86e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/expect/expect_5.45.4.bb2
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 65f717cc5f..010e18dd24 100644
--- a/meta/recipes-devtools/expect/expect_5.45.4.bb
+++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
@@ -42,6 +42,8 @@ S = "${WORKDIR}/${BPN}${PV}"
42 42
43EXTRA_AUTORECONF += "--exclude=aclocal" 43EXTRA_AUTORECONF += "--exclude=aclocal"
44 44
45CFLAGS += "-std=gnu17"
46
45do_install:append() { 47do_install:append() {
46 mv ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ 48 mv ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/
47 install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/ 49 install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/