summaryrefslogtreecommitdiffstats
path: root/config
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
parent2086f7284c63d759071729108e35687c4679b9fc (diff)
downloadmaster-31e0f0ae-2738526a16f9ebd100ac7a35d55b13e91e45e888.tar.gz
master-31e0f0ae-2738526a16f9ebd100ac7a35d55b13e91e45e888.tar.bz2
master-31e0f0ae-2738526a16f9ebd100ac7a35d55b13e91e45e888.zip
toolchain: add fortify-headers, enable FORTIFY_SOURCE by default
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46117
Diffstat (limited to 'config')
-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 35c07c63f8..aef03444c2 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