mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-17 03:00:00 +02:00
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>
This commit is contained in:
parent
428af39f51
commit
a9f6c7d014
|
@ -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}'"
|
||||
|
|
Loading…
Reference in New Issue
Block a user