diff mbox series

[master/scarthgap] gdbc6x: force older GNU/C standard

Message ID 20250507232053.2027601-1-denis@denix.org
State New
Headers show
Series [master/scarthgap] gdbc6x: force older GNU/C standard | expand

Commit Message

Denys Dmytriyenko May 7, 2025, 11:20 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

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>
---
 meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb
index 855de762..777a217f 100644
--- a/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb
+++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb
@@ -19,7 +19,7 @@  S = "${WORKDIR}/git/gdbc6x"
 inherit update-rc.d
 inherit gettext
 
-CFLAGS += "-fcommon -fpermissive"
+CFLAGS += "-fcommon -fpermissive -std=gnu11"
 
 do_configure () {
     cd ${S}