Link to libatomic on riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-03-28 12:17:59 +03:00
parent 4f5555fd93
commit b4065881df
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Name: numactl
Summary: Library for tuning for Non Uniform Memory Access machines
Version: 2.0.16
Release: 2%{dist}
Release: 2.0.riscv64%{dist}
# libnuma is LGPLv2 and GPLv2
# numactl binaries are GPLv2 only
License: GPLv2
@ -38,6 +38,10 @@ Provides development headers for numa library calls
%autosetup
%build
%ifarch riscv64
export LDFLAGS="%__global_ldflags -latomic"
%endif
%configure --prefix=/usr --libdir=%{_libdir}
%make_build
@ -73,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
* Tue Mar 28 2023 David Abdurachmanov <davidlt@rivosinc.com> - 2.0.16-2.0.riscv64
- Link to libatomic on riscv64
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild