From f54657569bacd180af9be1a3dfe8b672df3966cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 4 Apr 2020 14:41:43 +0200 Subject: [PATCH] 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. --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 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',