$OpenBSD: patch-generate_unix_Makefile_config,v 1.6 2017/03/18 21:37:55 sthen Exp $
--- generate/unix/Makefile.config.orig	Fri Mar  3 17:25:48 2017
+++ generate/unix/Makefile.config	Sat Mar 18 21:30:14 2017
@@ -194,7 +194,6 @@ CWARNINGFLAGS = \
     -Wall\
     -Wbad-function-cast\
     -Wdeclaration-after-statement\
-    -Werror\
     -Wformat=2\
     -Wmissing-declarations\
     -Wmissing-prototypes\
@@ -216,24 +215,7 @@ CWARNINGFLAGS += \
     -Wmissing-field-initializers\
     -Wnested-externs\
     -Wold-style-definition\
-    -Wno-format-nonliteral\
-    -Wredundant-decls
-#
-# Per-host flags and exclusions
-#
-ifneq ($(HOST), _FreeBSD)
-    CWARNINGFLAGS += \
-        -Wempty-body
-
-    ifneq ($(HOST), _APPLE)
-        CWARNINGFLAGS += \
-            -Woverride-init\
-            -Wlogical-op\
-            -Wmissing-parameter-type\
-            -Wold-style-declaration\
-            -Wtype-limits
-    endif
-endif
+    -Wno-format-nonliteral
 
 #
 # Extra warning flags (for possible future use)
