package/llvm: add llvm RTTI option
authorRomain Naour <romain.naour@gmail.com>
Sat, 5 Oct 2019 09:48:15 +0000 (11:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 25 Oct 2019 21:27:36 +0000 (23:27 +0200)
commitedad1d9f79a46dbdb25d2d7adaecd455014f9d62
treea3a83336f1afb63a52acc778057c59815bba9cbe
parent29f26fd6f4fe7421f847ff278eed79f9b1af3942
package/llvm: add llvm RTTI option

Allow to build LLVM with run-time type information as this feature is
needed (for example) by mesa3d's Gallium Nouveau driver or the Clover
OpenCL state tracker when llvm support is enabled in mesa3d.

While we only care about RTTI support in the target, we also need to
enable it in the host LLVM, so that llvm-config gives the proper
result.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/llvm/Config.in
package/llvm/llvm.mk