toolchain: add fortify-headers, enable FORTIFY_SOURCE by default
[openwrt/svn-archive/archive.git] / config / Config-build.in
index 35c07c63f8a964c3b1de9edb45bbe2d4bfe929ec..aef03444c2893c68302fbadcb48c0a0b371234e1 100644 (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