aboutsummaryrefslogtreecommitdiffstats
path: root/config/Config-build.in
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-06-16 17:27:59 +0000
committerSteven Barth <cyrus@openwrt.org>2015-06-16 17:27:59 +0000
commit11489a85cfcadf6ac23d490bcad65ff8f55ea2bb (patch)
treede8b2aa44e1575c1aa4dbae616a4615ab858949d /config/Config-build.in
parent41c53d8f0ca1e877f40e97c7a0b4bfbda150a984 (diff)
downloadupstream-11489a85cfcadf6ac23d490bcad65ff8f55ea2bb.tar.gz
upstream-11489a85cfcadf6ac23d490bcad65ff8f55ea2bb.tar.bz2
upstream-11489a85cfcadf6ac23d490bcad65ff8f55ea2bb.zip
hardening: enable format security checking by default
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46003
Diffstat (limited to 'config/Config-build.in')
-rw-r--r--config/Config-build.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Config-build.in b/config/Config-build.in
index 69fb708972..82ec0d6d0a 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -211,7 +211,7 @@ menu "Global build settings"
config PKG_CHECK_FORMAT_SECURITY
bool
prompt "Enable gcc format-security"
- default n
+ default y
help
Add -Wformat -Werror=format-security to the CFLAGS. You can disable
this per package by adding PKG_CHECK_FORMAT_SECURITY:=0 in the package