Get more help from gcc, add -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 and -fstack-protector.
This commit is contained in:
parent
a7bf0bf7e9
commit
6ba8311144
@ -9,8 +9,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
CPPFLAGS =
|
CPPFLAGS =
|
||||||
CFLAGS ?= -ansi -O2 -fomit-frame-pointer
|
CFLAGS ?= -ansi -O2 -fomit-frame-pointer -fstack-protector
|
||||||
override CFLAGS += -W -Wall -D_XOPEN_SOURCE -D_GNU_SOURCE
|
override CFLAGS += -W -Wall -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE
|
||||||
STATIC =
|
STATIC =
|
||||||
MANDB := s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@
|
MANDB := s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user