From e1571d87d58a35886ea7659489a7927021d330d1 Mon Sep 17 00:00:00 2001 From: cyrus Date: Tue, 16 Jun 2015 17:27:59 +0000 Subject: [PATCH] hardening: enable format security checking by default Signed-off-by: Steven Barth git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46003 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- config/Config-build.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0