Add patch to stop -Werror and allow decker to build on sparc64

Otherwise, it fails with

./c/lil.h:112:60: error: ISO C forbids conversion of function pointer to
object pointer type [-Werror=pedantic]

ok op@
This commit is contained in:
kmos
2026-04-06 00:40:55 +00:00
parent 9cb17534db
commit 9a05962fcd
+2 -1
View File
@@ -1,6 +1,7 @@
- drop -O2 and respect CFLAGS
- make building verbose
- allow implicit-const-int-float-conversion
- lose -Werror
Index: Makefile
--- Makefile.orig
@@ -10,7 +11,7 @@ Index: Makefile
OPEN=xdg-open
COMPILER=clang
- FLAGS=-Wall -Werror -Wextra -Wpedantic -O2
+ FLAGS=-Wall -Werror -Wextra -Wpedantic ${CFLAGS}
+ FLAGS=-Wall -Wextra -Wpedantic ${CFLAGS}
# -Wno-misleading-indentation silences warnings which are entirely spurious.
FLAGS:=$(FLAGS) -Wno-misleading-indentation -Wno-unknown-warning-option
- FLAGS:=$(FLAGS) -lm