build: Add -Wformat to STRICT_CFLAGS.
authorAndre Noll <maan@systemlinux.org>
Sun, 4 May 2014 19:30:04 +0000 (21:30 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 26 Oct 2014 12:15:54 +0000 (13:15 +0100)
Avoids

cc1: warning: -Wformat-security ignored without -Wformat

on NetBSD

Makefile.real

index 63eba81..978bebf 100644 (file)
@@ -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)