Skip to contentSkip to conversation

gdbc6x: Update for gcc v14 support

PATCH New Ryan Eatmon 1 participant 1 message Jun 3, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gdbc6x: 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.

---
 meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb +1 -1
index d3ada9c6..012136ac 100644
@@ -19,7 +19,7 @@ S = "${WORKDIR}/git/gdbc6x"
 inherit update-rc.d
 inherit gettext
 
-CFLAGS += "-fcommon"
+CFLAGS += "-fcommon -fpermissive"
 
 do_configure () {
     cd ${S}
Signature · 1 line
2.17.1