mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
silence clang perl warning on affected version
This commit is contained in:
parent
f04375668c
commit
8c2fa0687e
2 changed files with 8 additions and 0 deletions
|
|
@ -390,6 +390,11 @@ if want_perl
|
|||
if perl_version == UNSET
|
||||
perl_version = run_command(cross_perl, '-V::version:', check : true).stdout().split('\'')[1]
|
||||
endif
|
||||
|
||||
# disable clang warning
|
||||
if perl_version.version_compare('<5.35.2')
|
||||
perl_cflags += cc.get_supported_arguments('-Wno-compound-token-split-by-macro')
|
||||
endif
|
||||
perl_dep = declare_dependency(compile_args : perl_cflags, link_args : perl_ldflags,
|
||||
version : perl_version)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue