recipes: Update for gcc v14 support
PATCH 1/1 recipes: Update for gcc v14 support
One of the changes in gcc v14 is making implicit-function-declaration an error. For some older software packages the easiest fix is to add -fpermissive to the compile line.
Signed-off-by Ryan Eatmon <[email protected]>
--- meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb | 2 ++ meta-arago-test/recipes-devtools/cpuloadgen/cpuloadgen_git.bb | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb +2 -0
@@ -20,6 +20,8 @@ S = "${WORKDIR}/git" TARGET_CC_ARCH += "${LDFLAGS}" +EXTRA_OEMAKE = "CC="${CC} -fpermissive"" + do_compile() { # build Master sample application cd ${S}/CCIEF-BASIC_Master/build/linux
meta-arago-test/recipes-devtools/cpuloadgen/cpuloadgen_git.bb +2 -1
@@ -14,7 +14,8 @@ SRC_URI = "git://github.com/ptitiano/cpuloadgen.git;protocol=https;branch=${BRAN S = "${WORKDIR}/git" -EXTRA_OEMAKE = "DESTDIR=${D}${bindir} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"" +EXTRA_OEMAKE = "DESTDIR=${D}${bindir} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}"" +CFLAGS += "-fpermissive" do_install () { install -d ${D}${bindir}
Signature · 1 line
2.17.1