Mesa (main): android: define cpp_rtti=false because libLLVM is built w/o RTTI

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Nov 20 01:28:47 UTC 2021


Module: Mesa
Branch: main
Commit: f659d00000a1a3667f9861d01d5828dd12ec6857
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f659d00000a1a3667f9861d01d5828dd12ec6857

Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Sat Nov 20 00:47:18 2021 +0100

android: define cpp_rtti=false because libLLVM is built w/o RTTI

libLLVM for Android is built without RTTI, but after commit ad86267
mesa inherits meson default RTTI enabled state

cpp_rtti=false is added to meson options in android/mesa3d_cross.mk

Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13888>

---

 android/mesa3d_cross.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/android/mesa3d_cross.mk b/android/mesa3d_cross.mk
index fcb4d938f42..9c7cc36f48f 100644
--- a/android/mesa3d_cross.mk
+++ b/android/mesa3d_cross.mk
@@ -93,6 +93,7 @@ MESON_GEN_NINJA := \
 	-Dvulkan-drivers=$(subst $(space),$(comma),$(subst radeon,amd,$(BOARD_MESA3D_VULKAN_DRIVERS)))   \
 	-Dgbm=enabled                                                                \
 	-Degl=enabled                                                                \
+	-Dcpp_rtti=false								\
 
 MESON_BUILD := PATH=/usr/bin:/bin:/sbin:$$PATH ninja -C $(MESON_OUT_DIR)/build
 



More information about the mesa-commit mailing list