Disable LTO on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
b17a327787
commit
1e2abe42b2
@ -1,6 +1,6 @@
|
|||||||
Name: spatialite-tools
|
Name: spatialite-tools
|
||||||
Version: 5.0.1
|
Version: 5.0.1
|
||||||
Release: 3%{?dist}
|
Release: 3.0.riscv64%{?dist}
|
||||||
Summary: A set of useful CLI tools for SpatiaLite
|
Summary: A set of useful CLI tools for SpatiaLite
|
||||||
# Add missing -lxml2
|
# Add missing -lxml2
|
||||||
Patch0: spatialite-tools_lxml2.patch
|
Patch0: spatialite-tools_lxml2.patch
|
||||||
@ -9,6 +9,10 @@ License: GPLv3+
|
|||||||
Source0: http://www.gaia-gis.it/gaia-sins/%{name}-%{version}.tar.gz
|
Source0: http://www.gaia-gis.it/gaia-sins/%{name}-%{version}.tar.gz
|
||||||
URL: https://www.gaia-gis.it/fossil/spatialite-tools
|
URL: https://www.gaia-gis.it/fossil/spatialite-tools
|
||||||
|
|
||||||
|
%ifarch riscv64
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
BuildRequires: freexl-devel
|
BuildRequires: freexl-devel
|
||||||
@ -65,6 +69,9 @@ export LDFLAGS="%{__global_ldflags} -lm"
|
|||||||
%{_bindir}/spatialite_xml2utf8
|
%{_bindir}/spatialite_xml2utf8
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 24 2022 David Abdurachmanov <davidlt@rivosinc.com> - 5.0.1-3.0.riscv64
|
||||||
|
- Disable LTO on riscv64
|
||||||
|
|
||||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user