From 5e76f39e9d65b7bf87b3aa6506e52cd8b9dfa769 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 24 Jun 2021 11:26:05 +1000 Subject: [PATCH] meson.build: move -D_GNU_SOURCE to the other hardcoded args No need for this to be on its own line --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 33e8bf404..336932359 100644 --- a/meson.build +++ b/meson.build @@ -8,8 +8,6 @@ project('pipewire', ['c' ], #'b_sanitize=address,undefined', 'buildtype=debugoptimized' ]) -add_project_arguments('-D_GNU_SOURCE', language: 'c') - pipewire_version = meson.project_version() version_arr = pipewire_version.split('.') pipewire_version_major = version_arr[0] @@ -86,6 +84,7 @@ common_flags = [ ] cc_flags = common_flags + [ + '-D_GNU_SOURCE', '-DFASTPATH', # '-DSPA_DEBUG_MEMCPY', ]