From 10445d7e27d67744622e6a9addcd7e42b787712a Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Sep 26 2023 06:41:56 +0000 Subject: 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 --- diff --git a/mariadb.spec b/mariadb.spec index 21643cd..a5ba922 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -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