Project

General

Profile

Architecture #13812

Updated by Alexis Mousset almost 4 years ago

* Use @-fstack-protector-strong@ when possible 
 * Use @-D_FORTIFY_SOURCE=2@ when possible See https://lwn.net/Articles/584225/ and https://wiki.debian.org/Hardening#DEB_BUILD_HARDENING_STACKPROTECTOR_.28gcc.2Fg.2B-.2B-_-fstack-protector-strong.29. 

 these are used by Debian, Ubuntu and Fedora, should be safe. Usable since gcc 4.9.

Back