From: Khem Raj Date: Wed, 19 Mar 2025 08:15:53 +0000 (-0700) Subject: expect: Fix build with GCC 15 X-Git-Tag: 2025-04-walnascar~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae08da819d1bc5fee382651c3fe074e9be9d86e;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git expect: Fix build with GCC 15 Stick to C17 standard as GCC 15 switches to C23 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 65f717cc5f7..010e18dd24a 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}" EXTRA_AUTORECONF += "--exclude=aclocal" +CFLAGS += "-std=gnu17" + do_install:append() { mv ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/