From 048af2908ccc408f68d3f8d9fb9620c872f1ff72 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Mon, 26 Aug 2024 15:42:17 +0200 Subject: [PATCH] Do not set gcc specific option. Meson already handle werror and wall, let's use it. --- meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meson.build b/meson.build index e6609175..5b5b38b9 100644 --- a/meson.build +++ b/meson.build @@ -1,9 +1,7 @@ project('zim-tools', ['c', 'cpp'], version : '3.4.2', license : 'GPLv3+', - default_options : ['c_std=c11', 'cpp_std=c++17', 'werror=true']) - -add_global_arguments(['-Werror', '-Wall'], language:'cpp') + default_options : ['c_std=c11', 'cpp_std=c++17', 'werror=true', 'warning_level=1']) add_global_arguments('-DVERSION="@0@"'.format(meson.project_version()), language : 'cpp')