summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2014-10-01 19:52:34 +0100
committerPeter Powell <petpow@saberuk.com>2014-12-07 22:36:43 +0000
commit440f34023a094697fca5fc07dfbb9e2a3228520a (patch)
treee8849342709f39aac11a8882a02f5bf658e824c3
parent382bc8dd2af836c5ce8c400e327f4a35d9f7ae8f (diff)
Fix builds on OpenBSD spamming the console with warnings.
-rw-r--r--make/template/main.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index b4a0d6f1c..b4d77e4e6 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -54,7 +54,10 @@ INSTMODE_BIN = 0750
INSTMODE_LIB = 0640
@IFNEQ $(COMPILER) ICC
- CORECXXFLAGS += -pedantic -Woverloaded-virtual -Wshadow -Wformat=2 -Wmissing-format-attribute
+ CORECXXFLAGS += -Woverloaded-virtual -Wshadow
+@IFNEQ $(SYSTEM) openbsd
+ CORECXXFLAGS += -pedantic -Wformat=2 -Wmissing-format-attribute
+@ENDIF
@ENDIF
@IFNEQ $(SYSTEM)-$(COMPILER) darwin-GCC