nir: Add a load_global_constant intrinsic
[mesa.git] / scons / gallium.py
index 40903cd0cc9bade9d846f212b94297d680d05211..5fd979b1d1243f883660c9c659a06f37639855cb 100755 (executable)
@@ -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',