diff options
author | Steven Barth <steven@midlink.org> | 2015-06-16 17:27:59 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-06-16 17:27:59 +0000 |
commit | d57e27fb8d85c0ff17e591b527fc811fae21df2f (patch) | |
tree | c67faba5322c6f8479c2017bc46cb18b73ec6501 | |
parent | e94c659dd5b81ce92fb0e8ef672b296a606e32b4 (diff) | |
download | master-187ad058-d57e27fb8d85c0ff17e591b527fc811fae21df2f.tar.gz master-187ad058-d57e27fb8d85c0ff17e591b527fc811fae21df2f.tar.bz2 master-187ad058-d57e27fb8d85c0ff17e591b527fc811fae21df2f.zip |
hardening: enable format security checking by default
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46003 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | config/Config-build.in | 2 |
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 |