From: Ross Burton Date: Fri, 14 Nov 2025 12:28:41 +0000 (+0000) Subject: mesa: don't enable link-time optimisation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09d366f147a81acb8458e0b82316694d1a29ebe6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mesa: don't enable link-time optimisation LTO breaks mesa and is explicitly not tested in their CI, so we should ensure it is disabled. Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- 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 = ""