mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
meson: Error if LLVM doesn't have rtti when building clover
We already do this for nouveau, but it's required for clover too.
This commit is contained in:
parent
138865e676
commit
29912f2ea4
1 changed files with 2 additions and 0 deletions
|
|
@ -1253,6 +1253,8 @@ if with_llvm
|
|||
if dep_llvm.get_configtool_variable('has-rtti') == 'NO'
|
||||
if with_gallium_nouveau
|
||||
error('The Nouveau driver requires rtti. You either need to turn off nouveau or use an LLVM built with LLVM_ENABLE_RTTI.')
|
||||
elif with_gallium_opencl
|
||||
error('The Clover OpenCL state tracker requires rtti, you need to turn off clover or use an LLVM built with LLVM_ENABLE_RTTI.')
|
||||
endif
|
||||
cpp_args += '-fno-rtti'
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue