diff options
author | Antti-Juhani Kaijanaho <ajk@debian.org> | 2012-06-08 19:44:11 +0300 |
---|---|---|
committer | Antti-Juhani Kaijanaho <ajk@debian.org> | 2012-06-08 19:44:11 +0300 |
commit | a132bb1dec969d2852d98e32eaaa7b2da8c309c8 (patch) | |
tree | d7889dabeb6640c57d158568df7ae639c0229617 /GNUmakefile | |
parent | f690c98a923c59f2a654127077c19710ff187f49 (diff) | |
download | dctrl-tools-a132bb1dec969d2852d98e32eaaa7b2da8c309c8.tar.gz |
Add -Wextra to non-package builds (and clean up the resulting warnings).
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
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)\" |