More warnings.
This commit is contained in:
parent
c2973a0ab2
commit
b5004362d5
5
Makefile
5
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)
|
||||
|
|
Loading…
Reference in New Issue