diff mbox series

[3/3] mesa: don't enable link-time optimisation

Message ID 20251114122841.649314-3-ross.burton@arm.com
State New
Headers show
Series [1/3] mesa: assign to TOOLS and VULKAN_DRIVERS, don't chain :appends | expand

Commit Message

Ross Burton Nov. 14, 2025, 12:28 p.m. UTC
LTO breaks mesa and is explicitly not tested in their CI, so we should
ensure it is disabled.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-graphics/mesa/mesa.inc | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index e0ec17bd47b..3124db09864 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -348,3 +348,7 @@  INSANE_SKIP:libopencl-mesa += "dev-so"
 RREPLACES:mesa-megadriver = "mesa"
 RCONFLICTS:mesa-megadriver = "mesa"
 RPROVIDES:mesa-megadriver = "mesa"
+
+# As of May 2025 it is known that LTO breaks Mesa, for example:
+# https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34318
+LTO = ""