1
0
Fork 0

[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
1 changed files with 1 additions and 3 deletions

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
)