More warnings.

This commit is contained in:
Petter Reinholdtsen 2014-04-10 21:38:24 +00:00
parent c2973a0ab2
commit b5004362d5
1 changed files with 4 additions and 1 deletions

View File

@ -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)