From fc7301865e1eabe06d4225af596e7334c4094fe5 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 19 May 2020 14:19:25 -0700 Subject: [PATCH] drm-shim/meson: Use portable override_options for setting C standard Acked-by: Matt Turner Reviewed-by: Eric Engestrom Part-of: --- src/drm-shim/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drm-shim/meson.build b/src/drm-shim/meson.build index 39d739610ab..b1f238c27ec 100644 --- a/src/drm-shim/meson.build +++ b/src/drm-shim/meson.build @@ -27,7 +27,8 @@ drm_shim = static_library( ], include_directories: [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux], dependencies: [dep_libdrm, idep_mesautil, dep_dl], - c_args : [c_vis_args, '-std=gnu99'], + c_args : [c_vis_args], + override_options : ['c_std=gnu99'], ) dep_drm_shim = declare_dependency( link_with: drm_shim, -- 2.30.2