mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-31 07:11:14 -04:00
meson.build: set project cc flags also for native builds
Use the build flags also for all native build targets. Avoids spurious warnings in spa-json-dump
This commit is contained in:
parent
3febf09b85
commit
fe2c62b9b1
2 changed files with 3 additions and 3 deletions
|
|
@ -118,8 +118,8 @@ cc_flags = common_flags + [
|
|||
'-DSPA_AUDIO_MAX_CHANNELS=128u',
|
||||
]
|
||||
add_project_arguments(cc.get_supported_arguments(cc_flags), language: 'c')
|
||||
|
||||
cc_flags_native = cc_native.get_supported_arguments(cc_flags)
|
||||
add_project_arguments(cc_native.get_supported_arguments(cc_flags),
|
||||
language: 'c', native: true)
|
||||
|
||||
have_cpp = add_languages('cpp', native: false, required : false)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue