diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2025-05-04 22:34:46 +0200 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-05-06 01:45:13 +0000 |
commit | a9f6c7d0145db4d39a9564b766ee0ece9896c77c (patch) | |
tree | b8069e1a00dd87e8ccf2437562ee958af841888d | |
parent | 428af39f51afbcab89d9a5e9b2b204c751704cfd (diff) | |
download | meta-virtualization-a9f6c7d0145db4d39a9564b766ee0ece9896c77c.tar.gz |
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 <martin.jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-extended/dev86/dev86_git.bb | 7 |
1 files changed, 7 insertions, 0 deletions
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" | |||
57 | # unproto.c:188:51: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] | 57 | # unproto.c:188:51: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] |
58 | CFLAGS += "-Wno-error=implicit-int -Wno-error=implicit-function-declaration" | 58 | CFLAGS += "-Wno-error=implicit-int -Wno-error=implicit-function-declaration" |
59 | 59 | ||
60 | # http://errors.yoctoproject.org/Errors/Details/853302/ | ||
61 | CFLAGS += "-std=gnu17" | ||
62 | |||
63 | # http://errors.yoctoproject.org/Errors/Details/853303/ | ||
64 | # ar.c:615:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
65 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
66 | |||
60 | EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'" | 67 | EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'" |