From 650dc585385de3255026a1e53092c84f0ad8a4bc Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Jul 01 2020 21:14:10 +0000 Subject: Disable LTO --- diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index 99d5866..f033327 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -7,7 +7,7 @@ Name: webkit2gtk3 Version: 2.29.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK Web content engine library License: LGPLv2 @@ -162,6 +162,12 @@ rm -rf Source/ThirdParty/gtest/ rm -rf Source/ThirdParty/qunit/ %build +# This package fails to build with LTO due to undefined symbols. LTO +# was disabled in OpenSuSE as well, but with no real explanation why +# beyond the undefined symbols. It really shold be investigated further. +# Disable LTO +%define _lto_cflags %{nil} + # Increase the DIE limit so our debuginfo packages could be size optimized. # Decreases the size for x86_64 from ~5G to ~1.1G. # https://bugzilla.redhat.com/show_bug.cgi?id=1456261 @@ -269,6 +275,9 @@ export NINJA_STATUS="[%f/%t][%e] " %{_datadir}/gtk-doc/html/webkitdomgtk-4.0/ %changelog +* Wed July 01 2020 Jeff Law - 2.29.2-2 +- Disable LTO + * Wed Jun 24 2020 Michael Catanzaro - 2.29.2-1 - Update to 2.29.2