]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
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 63eba81e1b8df289da8a78b85bf8215dd2335139..978bebfa9dc82e62a4eff2828d40a710915b1d4b 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)