From 89b4f337d50c01c5782e19ee40b57a6c9e4b324b Mon Sep 17 00:00:00 2001 From: Yurii Kolesnykov Date: Wed, 30 Sep 2020 14:35:30 +0300 Subject: [PATCH] c_std=c11 in meson default_options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1020 Co-authored-by: Kristian Høgsberg Acked-by: Karol Herbst Acked-by: Eric Engestrom Signed-off-by: Yurii Kolesnykov Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index db9e44e9654..ff333961a0d 100644 --- a/meson.build +++ b/meson.build @@ -26,7 +26,7 @@ project( ).stdout(), license : 'MIT', meson_version : '>= 0.52', - default_options : ['buildtype=debugoptimized', 'b_ndebug=if-release', 'c_std=c99', 'cpp_std=c++14'] + default_options : ['buildtype=debugoptimized', 'b_ndebug=if-release', 'c_std=c11', 'cpp_std=c++14'] ) cc = meson.get_compiler('c')