meson/hardening/stack-prot/meson.build
raw| 1 | support_stack_protector = cxx.has_argument('-fstack-protector') |
| 2 | |
| 3 | if support_stack_protector |
| 4 | add_project_arguments('-fstack-protector', language: ['c', 'cpp']) |
| 5 | endif |
| 6 | |
| 7 | hardening_features += [[support_stack_protector, 'Stack Protector']] |
| 8 | summary('Stack Protector', support_stack_protector, bool_yn: true, section: 'Hardening') |