make it work with GCC-14 (LMDE7)

This commit is contained in:
Bernd Mueller
2026-06-17 14:27:47 +02:00
parent adfd70813f
commit e3c583ab36
3 changed files with 12 additions and 1 deletions

9
m68k/.gitignore vendored Normal file
View File

@@ -0,0 +1,9 @@
autom4te.cache
configure
config.h.in
config.log
config.status
aclocal.m4
Makefile.in
Makefile
*~

2
m68k/configure_wrapper.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
./configure CFLAGS="-std=gnu89" "$@"

View File

@@ -561,7 +561,7 @@ bdmReadConfiguration ()
if (env && strlen (env)) if (env && strlen (env))
{ {
char* fname = malloc (strlen (env) + 1 + strlen (M68K_BDM_INIT_FILE)); char* fname = malloc (strlen (env) + 2 + strlen (M68K_BDM_INIT_FILE));
if (fname) if (fname)
{ {