mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson.build: move -D_GNU_SOURCE to the other hardcoded args
No need for this to be on its own line
This commit is contained in:
parent
887876bea8
commit
5e76f39e9d
1 changed files with 1 additions and 2 deletions
|
|
@ -8,8 +8,6 @@ project('pipewire', ['c' ],
|
||||||
#'b_sanitize=address,undefined',
|
#'b_sanitize=address,undefined',
|
||||||
'buildtype=debugoptimized' ])
|
'buildtype=debugoptimized' ])
|
||||||
|
|
||||||
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
|
||||||
|
|
||||||
pipewire_version = meson.project_version()
|
pipewire_version = meson.project_version()
|
||||||
version_arr = pipewire_version.split('.')
|
version_arr = pipewire_version.split('.')
|
||||||
pipewire_version_major = version_arr[0]
|
pipewire_version_major = version_arr[0]
|
||||||
|
|
@ -86,6 +84,7 @@ common_flags = [
|
||||||
]
|
]
|
||||||
|
|
||||||
cc_flags = common_flags + [
|
cc_flags = common_flags + [
|
||||||
|
'-D_GNU_SOURCE',
|
||||||
'-DFASTPATH',
|
'-DFASTPATH',
|
||||||
# '-DSPA_DEBUG_MEMCPY',
|
# '-DSPA_DEBUG_MEMCPY',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue