From 7a1f4c50fa052bc40116f9e243ab15f0fba1ebf2 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 25 Aug 2014 06:36:06 +0000 Subject: PKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by default The idea is still to enable it by default at some point I've tested all ar71xx packages (except oldpackages) using CONFIG_ALL=y Failing packages have been marked with PKG_CHECK_FORMAT_SECURITY:=0 for now I can test more targets but i have no idea which are the most used Signed-off-by: Etienne CHAMPETIER SVN-Revision: 42282 --- config/Config-build.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config/Config-build.in') diff --git a/config/Config-build.in b/config/Config-build.in index 371ae7632a..02fe136791 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -93,6 +93,15 @@ menu "Global build settings" If you are unsure, select N. + config PKG_CHECK_FORMAT_SECURITY + bool + prompt "Enable gcc format-security" + default n + 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 Makefile + config PKG_BUILD_USE_JOBSERVER bool prompt "Use top-level make jobserver for packages" -- cgit v1.2.3