diff --git a/scons/gallium.py b/scons/gallium.py index 40903cd0cc9..5fd979b1d12 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -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',