diff --git a/meson.build b/meson.build index ad0e48e1..72a756d1 100644 --- a/meson.build +++ b/meson.build @@ -133,7 +133,7 @@ conf_data.set10('HAVE_SYS_TIME_H', 1) compiler = meson.get_compiler('c') if conf_data.get('CONFIG_ECMASCRIPT') - extracflags = ['-xc++', '-fpermissive', '-Wno-sign-compare'] + extracflags = ['-xc++', '-fpermissive', '-Wno-sign-compare', '-std=c++17'] else extracflags = ['-Wc++-compat'] endif