From 440f34023a094697fca5fc07dfbb9e2a3228520a Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 1 Oct 2014 19:52:34 +0100 Subject: Fix builds on OpenBSD spamming the console with warnings. --- make/template/main.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'make/template') 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 -- cgit v1.2.3