package/mesa3d: set cpp_rtti option
PATCH v2 1/1 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
---
Changes v1 -> v2:
- move rtti option under BR2_PACKAGE_MESA3D_LLVM
--- package/mesa3d/mesa3d.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/mesa3d/mesa3d.mk +5 -0
@@ -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
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni
AppliedQuoted 5 lines · On Wed, 14 Sep 2022 17:03:34 -0600 James Hilliard <[email protected]>…
This needs to be set based on
BR2_PACKAGE_LLVM_RTTIbeing set.Fixes:
- http://autobuild.buildroot.net/results/e2ebc9a73ed421aa6be44fe41bb5224cc12f699d
Quoted 7 lines
Signed-off-by James Hilliard <[email protected]>---
Changes v1 -> v2:
- move rtti option underBR2_PACKAGE_MESA3D_LLVM--- package/mesa3d/mesa3d.mk | 5 +++++ 1 file changed, 5 insertions(+)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"James" == James Hilliard <[email protected]> writes:
This needs to be set based on
BR2_PACKAGE_LLVM_RTTIbeing set.
Fixes:
- http://autobuild.buildroot.net/results/e2ebc9a73ed421aa6be44fe41bb5224cc12f699dSigned-off-by James Hilliard <[email protected]>---
Changes v1 -> v2:
- move rtti option underBR2_PACKAGE_MESA3D_LLVM
Committed to 2022.02.x, 2022.05.x and 2022.08.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot