ci: Enable LTO for fedora-release job
authorMichel Dänzer <mdaenzer@redhat.com>
Fri, 10 Feb 2023 15:22:38 +0000 (16:22 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 17 Mar 2023 16:08:34 +0000 (16:08 +0000)
commit2ead574abe4300a6be42d7c65397e15b0881fe16
treef12c067f63ff9b4bd6ad792ea0e58cc8817dd637
parenteb9cd45ef68ce50fb69cfb7352ae1cd616a8b458
ci: Enable LTO for fedora-release job

Requires -Wno-error=... to be passed to the linking stage.

NOTE: This does not imply that it's safe to enable LTO for Fedora
package builds yet. It just helps prevent moving further away from that
long term goal.

v2:
* Keep passing -Wno-error=array-bounds & -Wno-error=stringop-overread.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
.gitlab-ci/build/gitlab-ci.yml