mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[meson] Check if compiler accepts -Wno-builtin-declaration-mismatch
This commit is contained in:
parent
2337dd810d
commit
ed3d137ad6
@ -41,7 +41,13 @@ srcs += files('vernum.c')
|
||||
|
||||
incs = include_directories('..', '.')
|
||||
|
||||
extra_args = ['-DHAVE_CONFIG_H', '-fno-strict-aliasing', '-Wno-builtin-declaration-mismatch', '-Wno-address'] + extracflags
|
||||
extra_args = ['-DHAVE_CONFIG_H', '-fno-strict-aliasing', '-Wno-address']
|
||||
|
||||
if compiler.has_argument('-Wno-builtin-declaration-mismatch')
|
||||
extra_args += ['-Wno-builtin-declaration-mismatch']
|
||||
endif
|
||||
|
||||
extra_args += extracflags
|
||||
|
||||
elinks = executable(
|
||||
'elinks', srcs,
|
||||
|
Loading…
Reference in New Issue
Block a user