meson: Fix meson warnings
This commit is contained in:
parent
8dc6a50d88
commit
ce6a6b7d2e
1 changed files with 7 additions and 1 deletions
|
@ -51,6 +51,12 @@ add_project_arguments(cc.get_supported_arguments(
|
|||
'-Wno-unknown-warning-option',
|
||||
'-Wno-unused-command-line-argument',
|
||||
'-Wvla',
|
||||
]),
|
||||
language: 'c',
|
||||
)
|
||||
|
||||
add_project_arguments(cc.get_supported_link_arguments(
|
||||
[
|
||||
'-Wl,--exclude-libs=ALL',
|
||||
]),
|
||||
language: 'c',
|
||||
|
@ -66,7 +72,7 @@ endif
|
|||
|
||||
# Hacks
|
||||
source_root = meson.current_source_dir().split('/')
|
||||
build_root = meson.build_root().split('/')
|
||||
build_root = meson.global_build_root().split('/')
|
||||
relative_dir_parts = []
|
||||
i = 0
|
||||
in_prefix = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue