[Mesa-dev] [PATCH v2 04/21] meson: Set _GNU_SOURCE
Dylan Baker
dylan at pnwbakers.com
Thu Oct 12 17:38:31 UTC 2017
When we start adding non-free software platforms support we'll need to
guard this, but for now it should be fine as is.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/meson.build b/meson.build
index 8d890e53e12..b6f6c32d92d 100644
--- a/meson.build
+++ b/meson.build
@@ -31,6 +31,7 @@ pre_args = [
'-DVERSION="@0@"'.format(meson.project_version()),
'-DPACKAGE_VERSION=VERSION',
'-DPACKAGE_BUGREPORT="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa"',
+ '-D_GNU_SOURCE',
]
with_vulkan_icd_dir = get_option('vulkan-icd-dir')
--
2.14.2
More information about the mesa-dev
mailing list