$OpenBSD: patch-Makefile_am,v 1.2 2018/02/27 12:02:17 sthen Exp $
Index: Makefile.am
--- Makefile.am.orig
+++ Makefile.am
@@ -1,6 +1,4 @@
-AM_CFLAGS = -Bsymbolic -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -Werror-implicit-function-declaration -std=c99 -D_POSIX_C_SOURCE=200112 -D_ISOC99_SOURCE -Wl,--as-needed -Wl,--no-undefined -fno-asynchronous-unwind-tables
-
-image.lo: AM_CFLAGS += -Wno-unused-result
+AM_CFLAGS = -Bsymbolic -std=c99 -D_POSIX_C_SOURCE=200112 -D_ISOC99_SOURCE -fno-asynchronous-unwind-tables
 
 SUBDIRS = . test
 
