]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
mesa: don't enable link-time optimisation
authorRoss Burton <ross.burton@arm.com>
Fri, 14 Nov 2025 12:28:41 +0000 (12:28 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Nov 2025 11:05:53 +0000 (11:05 +0000)
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>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/mesa/mesa.inc

index e0ec17bd47b84640dbafac832d457cc86cc87e0c..3124db09864ce88a2349cf425f3ca0a5284cbe82 100644 (file)
@@ -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 = ""