summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/mk/bsd.sys.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index f6f8a00..fc5ec40 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -73,6 +73,9 @@ CWARNFLAGS += -Werror
. endif
. endif
. endif
+. if defined(NO_WFORMAT)
+CWARNFLAGS += -Wno-format
+. endif
.endif
.if defined(IGNORE_PRAGMA)
OpenPOWER on IntegriCloud