aboutsummaryrefslogtreecommitdiff
path: root/mesalib/scons/llvm.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/scons/llvm.py')
-rw-r--r--mesalib/scons/llvm.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesalib/scons/llvm.py b/mesalib/scons/llvm.py
index 6282cb538..134a0728e 100644
--- a/mesalib/scons/llvm.py
+++ b/mesalib/scons/llvm.py
@@ -204,6 +204,7 @@ def generate(env):
env.ParseConfig('llvm-config --ldflags')
if llvm_version >= distutils.version.LooseVersion('3.5'):
env.ParseConfig('llvm-config --system-libs')
+ env.Append(CXXFLAGS = ['-std=c++11'])
except OSError:
print 'scons: llvm-config version %s failed' % llvm_version
return