summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDylan Baker <dylan.c.baker@intel.com>2020-05-19 14:19:25 -0700
committerMarge Bot <eric+marge@anholt.net>2020-06-01 18:59:18 +0000
commitfc7301865e1eabe06d4225af596e7334c4094fe5 (patch)
tree12ad776dfde6f364d669e6adc5eb9b27784da9a1 /src
parent23df13c98825dd5b99a7e60fc8318ff9287a053d (diff)
drm-shim/meson: Use portable override_options for setting C standard
Acked-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
Diffstat (limited to 'src')
-rw-r--r--src/drm-shim/meson.build3
1 files changed, 2 insertions, 1 deletions
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,