toolchain: add fortify-headers, enable FORTIFY_SOURCE by default

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46117
This commit is contained in:
Steven Barth
2015-06-23 14:38:03 +00:00
parent 2086f7284c
commit 2738526a16
5 changed files with 57 additions and 2 deletions

View File

@@ -251,6 +251,7 @@ menu "Global build settings"
choice
prompt "Enable buffer-overflows detection (FORTIFY_SOURCE)"
default PKG_FORTIFY_SOURCE_1
help
Enable the _FORTIFY_SOURCE macro which introduces additional
checks to detect buffer-overflows in the following standard library