From: Khem Raj Date: Wed, 1 Oct 2025 20:58:37 +0000 (+0200) Subject: expect: Fix build with GCC 15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a1ac756f2f55c4f27a95cb8b1e63ee2db06dd327;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 Signed-off-by: Steve Sakoman --- 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}" 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}/