Add -fPIC to compilation flags
This commit is contained in:
parent
2a9f26347b
commit
ed145aa114
1 changed files with 7 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: android-file-transfer
|
||||
Version: 3.9
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Reliable Android MTP client with minimalist UI
|
||||
|
||||
License: LGPLv2+
|
||||
|
|
@ -38,6 +38,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 +68,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
|
|||
%{_datadir}/metainfo/%{name}.appdata.xml
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue