diff options
author | John Crispin <blogic@openwrt.org> | 2014-08-25 06:36:06 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-08-25 06:36:06 +0000 |
commit | c3738b4413a6fd6c9f715ca718462314dd126a1c (patch) | |
tree | ddc3a100bc63aa1715456acc1baf711d0ebb8938 /config | |
parent | c1333c560205359d25ce6894948d14ecca313c46 (diff) | |
download | upstream-c3738b4413a6fd6c9f715ca718462314dd126a1c.tar.gz upstream-c3738b4413a6fd6c9f715ca718462314dd126a1c.tar.bz2 upstream-c3738b4413a6fd6c9f715ca718462314dd126a1c.zip |
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 <champetier.etienne@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42282 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'config')
-rw-r--r-- | config/Config-build.in | 9 |
1 files changed, 9 insertions, 0 deletions
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" |