From a132bb1dec969d2852d98e32eaaa7b2da8c309c8 Mon Sep 17 00:00:00 2001 From: Antti-Juhani Kaijanaho Date: Fri, 8 Jun 2012 19:44:11 +0300 Subject: Add -Wextra to non-package builds (and clean up the resulting warnings). Signed-off-by: Antti-Juhani Kaijanaho --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index ea3fd1d..0de0533 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -14,7 +14,7 @@ man8dir = $(mandir)/man8 localedir = $(datarootdir)/locale CC = gcc -CFLAGS ?= -g -O2 -Wall -Werror +CFLAGS ?= -g -O2 -Wall -Wextra -Werror ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS) -std=gnu99 -Ilib \ -DENABLE_L_DEBUG -D_GNU_SOURCE -DSYSCONF=\"$(sysconfdir)\" \ -DHAVE_GETTEXT -DPACKAGE=\"dctrl-tools\" -DLOCALEDIR=\"$(localedir)\" -- cgit v1.2.3