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

https://bugzilla.redhat.com/show_bug.cgi?id=2239498

TODO: Remove when the issue is resolved
This commit is contained in:
Michal Schorm 2023-09-20 12:20:30 +02:00
parent 635c377683
commit 10445d7e27

View File

@ -26,6 +26,12 @@
# 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