add -Wformat-security -Wno-format-zero-length
This commit is contained in:
parent
89eb5a00ec
commit
19a90ac4d9
1 changed files with 5 additions and 9 deletions
6
Makefile
6
Makefile
|
|
@ -14,16 +14,12 @@ DEFINES += -DSTATEDIR='"$(statedir)"'
|
|||
OPTIM =
|
||||
OPTIM += -g
|
||||
OPTIM += -O3
|
||||
OPTIM += -funroll-loops
|
||||
OPTIM += -fomit-frame-pointer
|
||||
OPTIM += -finline-functions
|
||||
#OPTIM += -fstrength-reduce
|
||||
|
||||
CC = gcc
|
||||
LD = gcc
|
||||
INCLUDES = -I.
|
||||
CPPFLAGS = $(INCLUDES) $(DEFINES)
|
||||
CFLAGS = -Wall $(OPTIM)
|
||||
CFLAGS = -Wall -Wformat-security -Wno-format-zero-length $(OPTIM)
|
||||
LDFLAGS =
|
||||
LDLIBS =
|
||||
INSTALL = install -c -D -o root -g root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue