summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2025-05-07 23:08:23 -0400
committerRyan Eatmon <reatmon@ti.com>2025-05-13 11:18:02 -0500
commit76798d565e6576fde23b000abd98c8b68c5c9a41 (patch)
treeea0b167550567dd2f445bdfc1ceb7a66f130e8bd
parent7a0ba0634beff8006102c059af92a08f6b3d5a4e (diff)
downloadmeta-ti-76798d565e6576fde23b000abd98c8b68c5c9a41.tar.gz
amx3-cm3: force older GNU/C standard
This is an old code base 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 <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
index ecdae123..b14a706b 100644
--- a/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
+++ b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
@@ -14,7 +14,7 @@ SRC_URI = "git://git.ti.com/git/processor-firmware/ti-amx3-cm3-pm-firmware.git;p
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16do_compile() { 16do_compile() {
17 make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS} ${DEBUG_PREFIX_MAP}" 17 make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc -std=gnu11 ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS} ${DEBUG_PREFIX_MAP}"
18} 18}
19 19
20do_install() { 20do_install() {