1
0
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:
Witold Filipczyk 2022-06-20 16:01:30 +02:00
parent 2337dd810d
commit ed3d137ad6

View File

@ -41,7 +41,13 @@ srcs += files('vernum.c')
incs = include_directories('..', '.') 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 = executable(
'elinks', srcs, 'elinks', srcs,