Project

General

Profile

Architecture #27060

Updated by Alexis Mousset 9 days ago

Align with defaults of the modern distributions. 

 References: 

 * https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html 
 * https://cheatsheetseries.owasp.org/cheatsheets/C-Based_Toolchain_Hardening_Cheat_Sheet.html 

 Distros: 

 * https://fedoraproject.org/wiki/Changes/Add_FORTIFY_SOURCE%3D3_to_distribution_build_flags 
 * https://wiki.ubuntu.com/ToolChain/CompilerFlags 

Back