Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Qiyu Yan
d5745bdf3f
disable LTO #1894585 2020-12-14 19:07:47 +08:00
Jeff Law
ed145aa114 Add -fPIC to compilation flags 2020-10-02 15:44:13 -06:00

View file

@ -1,9 +1,15 @@
# Force out of source build
%undefine __cmake_in_source_build
# Build with lto enabled will lead to crash
# see
# https://bugzilla.redhat.com/show_bug.cgi?id=1894585
# Disabling lto until upstream fixes this problem
%define _lto_cflags %{nil}
Name: android-file-transfer
Version: 3.9
Release: 6%{?dist}
Release: 8%{?dist}
Summary: Reliable Android MTP client with minimalist UI
License: LGPLv2+
@ -38,6 +44,9 @@ Features:
%build
# QT requires the main progrma not to perform local symbol binding,
# -fPIC accomplishes that
export CXXFLAGS="-fPIC $RPM_OPT_FLAGS"
%cmake -GNinja
%cmake_build
@ -65,6 +74,12 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
%{_datadir}/metainfo/%{name}.appdata.xml
%changelog
* Sun Nov 15 18:00:15 CST 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 3.9-8
- disable LTO #1894585
* Fri Oct 2 2020 Jeff Law <law@redhat.com> - 3.9-7
- Add -fPIC to compilation flags
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.9-6
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild