From 9f877aed9ffdca431e64bb11cd4bbced0e19488b Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 3 May 2012 17:22:44 +0000 Subject: [PATCH] makefile: enable -Wextra, -Wformat=2 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ec9f06..9460526 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ SRCS = main.c parse.c pkg.c bsdstubs.c getopt_long.c include buildsys.mk -CFLAGS += -DPKG_DEFAULT_PATH=\"${libdir}/pkgconfig\" -Wall +CFLAGS += -DPKG_DEFAULT_PATH=\"${libdir}/pkgconfig\" -Wall -Wextra -Wformat=2 -std=gnu99 install-extra: mkdir -p $(DESTDIR)/$(datarootdir)/aclocal