aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-06-23 14:38:03 +0000
committerSteven Barth <steven@midlink.org>2015-06-23 14:38:03 +0000
commit3c20d2105fbbb34f497874ca5ca7a048ae43f5d5 (patch)
treedfe9795ec0e637d6200c42fc5cd23321a3f174c6 /config
parentf92b2af1fb5be76af723b9278a0bdf40d62db603 (diff)
downloadmaster-187ad058-3c20d2105fbbb34f497874ca5ca7a048ae43f5d5.tar.gz
master-187ad058-3c20d2105fbbb34f497874ca5ca7a048ae43f5d5.tar.bz2
master-187ad058-3c20d2105fbbb34f497874ca5ca7a048ae43f5d5.zip
toolchain: add fortify-headers, enable FORTIFY_SOURCE by default
Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46117 3c298f89-4303-0410-b956-a3cf2f4a3e73
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