Disable LTO on riscv64 for now

This might allow to get rid of TEXTRELs in the binary.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-04-27 13:26:14 +03:00
parent c445f60476
commit 3449781aca
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 8 additions and 1 deletions

View File

@ -10,7 +10,11 @@
%global snapshot %{nil}
%global git_sha %{nil}
%global bcond_default_debug 0
%ifnarch riscv64
%global bcond_default_lto %{nil}
%else
%global bcond_default_lto 0
%endif
%global bcond_default_test 0
%global obsoletes_device_plugins 1:0.9.9.95-1
@ -183,7 +187,7 @@ Name: NetworkManager
Summary: Network connection manager and user applications
Epoch: %{epoch_version}
Version: %{rpm_version}
Release: %{release_version}%{?snap}%{?dist}
Release: %{release_version}%{?snap}.0.riscv64%{?dist}
Group: System Environment/Base
License: GPLv2+ and LGPLv2+
URL: https://networkmanager.dev/
@ -1245,6 +1249,9 @@ fi
%changelog
* Thu Apr 27 2023 David Abdurachmanov <davidlt@rivosinc.com> - 1:1.42.6.1.0.riscv64
- Disable LTO on riscv64
* Thu Apr 20 2023 Beniamino Galvani <bgalvani@redhat.com> - 1:1.42.6.1
- Update to 1.42.6 release