mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[meson] Do not pass -Wc++-compat for C++
This commit is contained in:
parent
1e532d0731
commit
702adbe2eb
@ -47,8 +47,6 @@ if compiler.has_argument('-Wno-builtin-declaration-mismatch')
|
|||||||
extra_args += ['-Wno-builtin-declaration-mismatch']
|
extra_args += ['-Wno-builtin-declaration-mismatch']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
extra_args += extracflags
|
|
||||||
|
|
||||||
extra_cpp_args = extra_args
|
extra_cpp_args = extra_args
|
||||||
extra_cpp_args += extracppflags
|
extra_cpp_args += extracppflags
|
||||||
|
|
||||||
@ -56,7 +54,7 @@ elinks = executable(
|
|||||||
'elinks', srcs,
|
'elinks', srcs,
|
||||||
include_directories: incs,
|
include_directories: incs,
|
||||||
dependencies: deps,
|
dependencies: deps,
|
||||||
c_args: extra_args,
|
c_args: extra_args + extracflags,
|
||||||
cpp_args: extra_cpp_args,
|
cpp_args: extra_cpp_args,
|
||||||
install: true
|
install: true
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user