Skip to content

Commit

Permalink
Merge pull request #121 from cgzones/meson
Browse files Browse the repository at this point in the history
Meson tweaks
  • Loading branch information
ssahani authored Oct 4, 2024
2 parents 32a93b9 + 21f2de8 commit 6f0863f
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
Expand Up @@ -25,7 +25,6 @@ conf.set_quoted('PKGSYSCONFDIR', get_option('sysconfdir'))
cc = meson.get_compiler('c')

c_args = '''
-Wextra
-Werror=undef
-Werror=format=2
-Wformat-security
Expand Down Expand Up @@ -110,8 +109,7 @@ gperf_test_format = '''
const char * in_word_set(const char *, @0@);
@1@
'''
gperf_snippet_format = 'echo foo,bar | @0@ -L ANSI-C'
gperf_snippet = run_command('sh', '-c', gperf_snippet_format.format(gperf.path()))
gperf_snippet = run_command('sh', '-c', 'echo foo,bar | "$1" -L ANSI-C', '_', gperf, check: true)
gperf_test = gperf_test_format.format('size_t', gperf_snippet.stdout())
if cc.compiles(gperf_test)
gperf_len_type = 'size_t'
Expand Down

0 comments on commit 6f0863f

Please sign in to comment.