summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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