$OpenBSD: patch-generate_unix_Makefile_config,v 1.3 2014/05/20 17:02:30 sthen Exp $
--- generate/unix/Makefile.config.orig	Thu Apr 24 16:48:58 2014
+++ generate/unix/Makefile.config	Tue May 20 17:44:50 2014
@@ -157,7 +157,6 @@ CWARNINGFLAGS = \
     -Wall\
     -Wbad-function-cast\
     -Wdeclaration-after-statement\
-    -Werror\
     -Wformat=2\
     -Wmissing-declarations\
     -Wmissing-prototypes\
@@ -180,23 +179,7 @@ CWARNINGFLAGS += \
     -Wnested-externs\
     -Wold-style-definition\
     -Woverride-init\
-    -Wno-format-nonliteral\
-    -Wredundant-decls
-#
-# Per-host flags and exclusions
-#
-ifneq ($(HOST), _FreeBSD)
-    CWARNINGFLAGS += \
-        -Wempty-body
-
-    ifneq ($(HOST), _APPLE)
-        CWARNINGFLAGS += \
-        -Wlogical-op\
-        -Wmissing-parameter-type\
-        -Wold-style-declaration\
-        -Wtype-limits
-    endif
-endif
+    -Wno-format-nonliteral
 
 #
 # Extra warning flags (for possible future use)
