Skip to content

Commit

Permalink
Do not set gcc specific option.
Browse files Browse the repository at this point in the history
Meson already handle werror and wall, let's use it.
  • Loading branch information
mgautierfr committed Aug 26, 2024
1 parent 2b5ff31 commit 048af29
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions meson.build
Original file line number Diff line number Diff line change
@@ -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')

Expand Down

0 comments on commit 048af29

Please sign in to comment.