aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-04 12:41:43 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-04 12:41:43 +0000
commitf54657569bacd180af9be1a3dfe8b672df3966cd (patch)
tree71af8a1e30dc751f8ddd57c044268a9c899b8170
parentMerge branch 'osc4-multi-parameter' (diff)
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.
-rw-r--r--meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 59e63a6d..115f8f9c 100644
--- a/meson.build
+++ b/meson.build
@@ -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',