From: Dylan Baker Date: Tue, 19 May 2020 21:19:25 +0000 (-0700) Subject: drm-shim/meson: Use portable override_options for setting C standard X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc7301865e1eabe06d4225af596e7334c4094fe5;p=mesa.git drm-shim/meson: Use portable override_options for setting C standard Acked-by: Matt Turner Reviewed-by: Eric Engestrom Part-of: --- 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,