For reference, using the caerwyn/inferno64 fork, I had to apply this diff to get gcc 14 to swallow it.
# -----------------------------------------------------------------
diff --git a/makemk.sh b/makemk.sh
index 00b4a52b..edc68d3f 100755
--- a/makemk.sh
+++ b/makemk.sh
@@ -19,7 +19,7 @@ grep -s 'SYSTARG=Plan9' mkconfig || . ./mkconfig
PLAT=$ROOT/$SYSTARG/$OBJTYPE
# you might need to adjust the CC, LD, AR, and RANLIB definitions after this point
-CC="p cc -c -I$PLAT/include -I$ROOT/include -I$ROOT/utils/include"
+CC="p cc -c -Wno-error=implicit-function-declaration -std=gnu11 -I$PLAT/include -I$ROOT/include -I$ROOT/utils/include"
LD="p cc "
AR="p ar crvs"
RANLIB=":"
# some systems still require `ranlib'
diff --git a/mkfiles/mkfile-Linux-amd64 b/mkfiles/mkfile-Linux-amd64
index 03a47535..c232ca75 100644
--- a/mkfiles/mkfile-Linux-amd64
+++ b/mkfiles/mkfile-Linux-amd64
@@ -13,10 +13,13 @@ ASFLAGS=
CC=
cc -c
CFLAGS=
-g\
+
-Wno-error=implicit-function-declaration\
+
-Wno-error=implicit-int\
+
-Wno-error=incompatible-pointer-types\
+
-std=gnu11\
#-O\
-fno-strict-aliasing\
-fno-aggressive-loop-optimizations\
-
-Wuninitialized -Wunused-variable -Wreturn-type -Wimplicit\
-I$ROOT/Linux/amd64/include\
-I$ROOT/include\
-DLINUX_AMD64\