WORKAROUND: disable LTO on i686 arch to mitigate Internal Compiler Error

Issue described here: https://bugzilla.redhat.com/show_bug.cgi?id=2239498
TODO: Remove when the issue is resolved

Related: RHEL-8411
This commit is contained in:
Michal Schorm 2023-09-22 12:12:17 +00:00 committed by Lukas Javorsky
parent 609df3be4b
commit 0ddb1d9e5f
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,11 @@
# Turn that off to ensure such files don't get included in RPMs (cf bz#884755).
%global _default_patch_flags --no-backup-if-mismatch
# Temporary workaround to fix the "internal compiler error" described in https://bugzilla.redhat.com/show_bug.cgi?id=2239498
# TODO: Remove when the issue is resolved
%ifarch i686
%global _lto_cflags %{nil}
%endif
# Mroonga engine