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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/scons/llvm.py b/mesalib/scons/llvm.py
index f87766af1..e1ed76022 100644
--- a/mesalib/scons/llvm.py
+++ b/mesalib/scons/llvm.py
@@ -183,6 +183,9 @@ def generate(env):
if llvm_version >= distutils.version.LooseVersion('3.1'):
components.append('mcjit')
+ if llvm_version >= distutils.version.LooseVersion('3.2'):
+ env.Append(CXXFLAGS = ('-fno-rtti',))
+
env.ParseConfig('llvm-config --libs ' + ' '.join(components))
env.ParseConfig('llvm-config --ldflags')
except OSError: