Browse Source

hardening: enable format security checking by default

Signed-off-by: Steven Barth <[email protected]>

SVN-Revision: 46003
Steven Barth 10 years ago
parent
commit
11489a85cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/Config-build.in

+ 1 - 1
config/Config-build.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