mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
package/mesa3d: set cpp_rtti option
This needs to be set based on BR2_PACKAGE_LLVM_RTTI being set. Fixes: - http://autobuild.buildroot.net/results/e2ebc9a73ed421aa6be44fe41bb5224cc12f699d Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
5cd140ca8d
commit
a7f854bce5
@@ -48,6 +48,11 @@ ifeq ($(BR2_PACKAGE_MESA3D_LLVM),y)
|
||||
MESA3D_DEPENDENCIES += host-llvm llvm
|
||||
MESA3D_MESON_EXTRA_BINARIES += llvm-config='$(STAGING_DIR)/usr/bin/llvm-config'
|
||||
MESA3D_CONF_OPTS += -Dllvm=enabled
|
||||
ifeq ($(BR2_PACKAGE_LLVM_RTTI),y)
|
||||
MESA3D_CONF_OPTS += -Dcpp_rtti=true
|
||||
else
|
||||
MESA3D_CONF_OPTS += -Dcpp_rtti=false
|
||||
endif
|
||||
else
|
||||
# Avoid automatic search of llvm-config
|
||||
MESA3D_CONF_OPTS += -Dllvm=disabled
|
||||
|
||||
Reference in New Issue
Block a user