hardening: enable format security checking by default
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46003
This commit is contained in:
@@ -211,7 +211,7 @@ menu "Global build settings"
|
|||||||
config PKG_CHECK_FORMAT_SECURITY
|
config PKG_CHECK_FORMAT_SECURITY
|
||||||
bool
|
bool
|
||||||
prompt "Enable gcc format-security"
|
prompt "Enable gcc format-security"
|
||||||
default n
|
default y
|
||||||
help
|
help
|
||||||
Add -Wformat -Werror=format-security to the CFLAGS. You can disable
|
Add -Wformat -Werror=format-security to the CFLAGS. You can disable
|
||||||
this per package by adding PKG_CHECK_FORMAT_SECURITY:=0 in the package
|
this per package by adding PKG_CHECK_FORMAT_SECURITY:=0 in the package
|
||||||
|
|||||||
Reference in New Issue
Block a user