From b5004362d54f0f0c68e7fa0b7a13650363b231d9 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Thu, 10 Apr 2014 21:38:24 +0000 Subject: [PATCH] More warnings. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 81f7379..5a2c57b 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,10 @@ ifneq ($(INC),) endif CC = gcc -CFLAGS = $(RPM_OPT_FLAGS) $(COPTS) -D_GNU_SOURCE $(INC) -Wall -W -pipe +CFLAGS = $(RPM_OPT_FLAGS) $(COPTS) -D_GNU_SOURCE $(INC) -pipe + +WARNINGS = -Wall -W -Wformat -Werror=format-security +CFLAGS += $(WARNINGS) # Enable large file support on GNU/Hurd CFLAGS += $(shell getconf LFS_CFLAGS)