summaryrefslogtreecommitdiff
path: root/config/Config-build.in
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-06-23 14:38:03 +0000
committerSteven Barth <cyrus@openwrt.org>2015-06-23 14:38:03 +0000
commit2738526a16f9ebd100ac7a35d55b13e91e45e888 (patch)
treee63e9fe54643978c4bd5a3030e6d4fd59948099f /config/Config-build.in
parent2086f7284c63d759071729108e35687c4679b9fc (diff)
downloadmtk-20170518-2738526a16f9ebd100ac7a35d55b13e91e45e888.zip
mtk-20170518-2738526a16f9ebd100ac7a35d55b13e91e45e888.tar.gz
mtk-20170518-2738526a16f9ebd100ac7a35d55b13e91e45e888.tar.bz2
toolchain: add fortify-headers, enable FORTIFY_SOURCE by default
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46117
Diffstat (limited to 'config/Config-build.in')
-rw-r--r--config/Config-build.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/Config-build.in b/config/Config-build.in
index 35c07c6..aef0344 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -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