mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 18:24:13 +08:00
c_std=c11 in meson default_options
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1020 Co-authored-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Karol Herbst <kherbst@redhat.com> Acked-by: Eric Engestrom <eric@engestrom.ch> Signed-off-by: Yurii Kolesnykov <root@yurikoles.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6935>
This commit is contained in:
parent
61a845ca19
commit
89b4f337d5
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user