From b48898aadd28868f2a5586bca256bf7de3e4976f Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mar 02 2018 07:35:13 +0000 Subject: Disable link time optimisation for python3 related libs Workaround for rhbz#1548823 --- diff --git a/libtalloc.spec b/libtalloc.spec index 2acaffa..bceb401 100644 --- a/libtalloc.spec +++ b/libtalloc.spec @@ -6,7 +6,7 @@ Name: libtalloc Version: 2.1.11 -Release: 5%{?dist} +Release: 6%{?dist} Group: System Environment/Daemons Summary: The talloc library License: LGPLv3+ @@ -92,6 +92,9 @@ PY3_CONFIG_FLAGS=--extra-python=%{__python3} PY3_CONFIG_FLAGS="" %endif +# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376 +export python_LDFLAGS="" + %configure --disable-rpath \ --disable-rpath-install \ --bundled-libraries=NONE \ @@ -164,6 +167,10 @@ cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir} %endif %changelog +* Fri Mar 02 2018 Lukas Slebodnik - 2.1.11-6 +- Disable link time optimisation for python3 related libs +- Workaround for rhbz#1548823 + * Mon Feb 26 2018 Lukas Slebodnik - 2.1.11-5 - Add gcc to Buildroot - https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot