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:
Daniel Eklöf 2020-04-04 14:41:43 +02:00
parent 6d7c686a3c
commit f54657569b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -15,8 +15,7 @@ cc = meson.get_compiler('c')
add_project_arguments(
['-D_GNU_SOURCE=200809L'] + (is_debug_build ? ['-D_DEBUG'] : []) +
cc.get_supported_arguments(
['-fno-stack-protector',
'-fstrict-aliasing',
['-fstrict-aliasing',
'-Wstrict-aliasing',
'-Wno-missing-profile']),
language: 'c',