cpuloadgen: force older GNU/C standard
PATCH 1/2 cpuloadgen: force older GNU/C standard
From: Denys Dmytriyenko <[email protected]>
This is an old code base based on Dhrystone and hasn't been updated in a very long time. It now fails to compile with gcc-15 (C23 standard). Force compilation with GNU/C11 standard instead.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- meta-arago-test/recipes-devtools/cpuloadgen/cpuloadgen_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-test/recipes-devtools/cpuloadgen/cpuloadgen_git.bb +1 -1
@@ -15,7 +15,7 @@ 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}" CFLAGS="${CFLAGS}"" -CFLAGS += "-fpermissive" +CFLAGS += "-fpermissive -std=gnu11" do_install () { install -d ${D}${bindir}
Signature · 1 line
2.25.1
PATCH 2/2 arm-benchmarks: force older GNU/C standard
From: Denys Dmytriyenko <[email protected]>
This is an old code base based on Dhrystone and hasn't been updated in a very long time. It now fails to compile with gcc-15 (C23 standard). Force compilation with GNU/C11 standard instead.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- .../recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-test/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb +1 -1
@@ -15,7 +15,7 @@ S = "${WORKDIR}/git" do_compile() { export CROSS_COMPILE=${TARGET_PREFIX} - export CFLAGS='${TARGET_CC_ARCH}' + export CFLAGS='${TARGET_CC_ARCH} -std=gnu11' # build the release version oe_runmake release CC="${CC}" }
Signature · 1 line
2.25.1