1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[meson] Do not pass -Wc++-compat for C++

This commit is contained in:
Witold Filipczyk 2022-09-02 17:46:53 +02:00
parent 1e532d0731
commit 702adbe2eb

View File

@ -47,8 +47,6 @@ if compiler.has_argument('-Wno-builtin-declaration-mismatch')
extra_args += ['-Wno-builtin-declaration-mismatch']
endif
extra_args += extracflags
extra_cpp_args = extra_args
extra_cpp_args += extracppflags
@ -56,7 +54,7 @@ elinks = executable(
'elinks', srcs,
include_directories: incs,
dependencies: deps,
c_args: extra_args,
c_args: extra_args + extracflags,
cpp_args: extra_cpp_args,
install: true
)