Commit bc6d6fd0 authored by Eric Engestrom's avatar Eric Engestrom Committed by Marge Bot
Browse files

scons: bump c++ standard to 14 to match meson

Closes: mesa/mesa#1845


Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
Part-of: <mesa/mesa!3500>
parent 0fd33207
Pipeline #194606 passed with stages
in 7 minutes and 49 seconds
......@@ -404,6 +404,7 @@ def generate(env):
]
if gcc_compat:
cppdefines += [('__MSVCRT_VERSION__', '0x0700')]
cppdefines += ['_USE_MATH_DEFINES']
if msvc:
cppdefines += [
'VC_EXTRALEAN',
......@@ -496,6 +497,7 @@ def generate(env):
cflags += ['-std=gnu11']
else:
cflags += ['-std=gnu99']
cxxflags += ['-std=c++14']
if icc:
cflags += [
'-std=gnu99',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment