Disable link time optimisation for python3 related libs

Workaround for rhbz#1548823
This commit is contained in:
Lukas Slebodnik 2018-03-02 08:32:05 +01:00
parent e3c85b24d2
commit b48898aadd

View File

@ -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 <lslebodn@fedoraproject.org> - 2.1.11-6
- Disable link time optimisation for python3 related libs
- Workaround for rhbz#1548823
* Mon Feb 26 2018 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.11-5
- Add gcc to Buildroot
- https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot