mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user