From: Dylan Baker Date: Mon, 9 Oct 2017 21:22:07 +0000 (-0700) Subject: meson: Set _GNU_SOURCE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=601bd7296fa464fe146f57c4ea89e3cad06749e9;p=mesa.git meson: Set _GNU_SOURCE 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 Reviewed-by: Eric Anholt --- diff --git a/meson.build b/meson.build index 2f73215ca52..e68469262bf 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')