From a9f6c7d0145db4d39a9564b766ee0ece9896c77c Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sun, 4 May 2025 22:34:46 +0200 Subject: dev86: use gnu17 and ignore incompatible-pointer-types to allow building with gcc-15 The repo from SRC_URI is no longer accessible add temporary work around to allow building with gcc-15. Signed-off-by: Martin Jansa Signed-off-by: Bruce Ashfield --- recipes-extended/dev86/dev86_git.bb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipes-extended/dev86/dev86_git.bb b/recipes-extended/dev86/dev86_git.bb index 6414ecfb..d43d1200 100644 --- a/recipes-extended/dev86/dev86_git.bb +++ b/recipes-extended/dev86/dev86_git.bb @@ -57,4 +57,11 @@ FILES:${PN} += "${libdir}/bcc" # unproto.c:188:51: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] CFLAGS += "-Wno-error=implicit-int -Wno-error=implicit-function-declaration" +# http://errors.yoctoproject.org/Errors/Details/853302/ +CFLAGS += "-std=gnu17" + +# http://errors.yoctoproject.org/Errors/Details/853303/ +# ar.c:615:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types" + EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'" -- cgit v1.2.3-54-g00ecf