mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
meson: don't set -fno-stack-protector
Disabling the stack protection is generally bad, and I can't measure any performance drops with it enabled.
This commit is contained in:
parent
6d7c686a3c
commit
f54657569b
1 changed files with 1 additions and 2 deletions
|
|
@ -15,8 +15,7 @@ cc = meson.get_compiler('c')
|
||||||
add_project_arguments(
|
add_project_arguments(
|
||||||
['-D_GNU_SOURCE=200809L'] + (is_debug_build ? ['-D_DEBUG'] : []) +
|
['-D_GNU_SOURCE=200809L'] + (is_debug_build ? ['-D_DEBUG'] : []) +
|
||||||
cc.get_supported_arguments(
|
cc.get_supported_arguments(
|
||||||
['-fno-stack-protector',
|
['-fstrict-aliasing',
|
||||||
'-fstrict-aliasing',
|
|
||||||
'-Wstrict-aliasing',
|
'-Wstrict-aliasing',
|
||||||
'-Wno-missing-profile']),
|
'-Wno-missing-profile']),
|
||||||
language: 'c',
|
language: 'c',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue