From 3205c29c600e647ba6710b0d9fced716ed6ab541 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 6 Nov 2019 11:48:49 +1000 Subject: [PATCH] meson.build: drop the explicit -g flag Let's rely on meson to set this for us. Signed-off-by: Peter Hutterer --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 84f67f50..51dbd7da 100644 --- a/meson.build +++ b/meson.build @@ -43,7 +43,7 @@ libinput_so_version = '@0@.@1@.@2@'.format((libinput_lt_c - libinput_lt_a), # Compiler setup cc = meson.get_compiler('c') -cppflags = ['-Wno-unused-parameter', '-g', '-fvisibility=hidden'] +cppflags = ['-Wno-unused-parameter', '-fvisibility=hidden'] cflags = cppflags + ['-Wmissing-prototypes', '-Wstrict-prototypes'] add_project_arguments(cflags, language : 'c') add_project_arguments(cppflags, language : 'cpp')