From 3c20d2105fbbb34f497874ca5ca7a048ae43f5d5 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 23 Jun 2015 14:38:03 +0000 Subject: toolchain: add fortify-headers, enable FORTIFY_SOURCE by default Signed-off-by: Steven Barth git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46117 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- config/Config-build.in | 1 + 1 file changed, 1 insertion(+) (limited to 'config') 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 -- cgit v1.2.3