From: Andre Noll Date: Sun, 4 May 2014 19:30:04 +0000 (+0200) Subject: build: Add -Wformat to STRICT_CFLAGS. X-Git-Tag: v0.5.4~46^2~9 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=cdba3d86b4c41440ec7f26e867c18a802b0b26b7;p=paraslash.git build: Add -Wformat to STRICT_CFLAGS. Avoids cc1: warning: -Wformat-security ignored without -Wformat on NetBSD --- diff --git a/Makefile.real b/Makefile.real index 63eba81e..978bebfa 100644 --- a/Makefile.real +++ b/Makefile.real @@ -101,7 +101,7 @@ STRICT_CFLAGS = $(CFLAGS) STRICT_CFLAGS += -g -Wundef -W STRICT_CFLAGS += -Wredundant-decls STRICT_CFLAGS += -Wno-sign-compare -Wno-unknown-pragmas -STRICT_CFLAGS += -Wformat-security +STRICT_CFLAGS += -Wformat -Wformat-security STRICT_CFLAGS += -Wmissing-format-attribute LDFLAGS += $(clock_gettime_ldflags)