39 lines
1005 B
Plaintext
39 lines
1005 B
Plaintext
$OpenBSD: patch-generate_unix_Makefile_config,v 1.7 2017/10/15 13:02:07 jasper Exp $
|
|
Index: generate/unix/Makefile.config
|
|
--- generate/unix/Makefile.config.orig
|
|
+++ generate/unix/Makefile.config
|
|
@@ -196,7 +196,6 @@ CWARNINGFLAGS = \
|
|
-Wall\
|
|
-Wbad-function-cast\
|
|
-Wdeclaration-after-statement\
|
|
- -Werror\
|
|
-Wformat=2\
|
|
-Wmissing-declarations\
|
|
-Wmissing-prototypes\
|
|
@@ -218,24 +217,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)
|