diff options
-rw-r--r-- | scons/llvm.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/llvm.py b/scons/llvm.py index 6282cb5382f..134a0728ef1 100644 --- a/scons/llvm.py +++ b/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 |