From cdba3d86b4c41440ec7f26e867c18a802b0b26b7 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 4 May 2014 21:30:04 +0200 Subject: [PATCH] build: Add -Wformat to STRICT_CFLAGS. Avoids cc1: warning: -Wformat-security ignored without -Wformat on NetBSD --- Makefile.real | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5