Link to libm

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-10-25 14:27:11 +03:00
parent 1e2abe42b2
commit c6a7aa3a22
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,7 @@ rm -f Makefile-static*
%build
%ifarch i686 armv7hl
%ifarch i686 armv7hl riscv64
export LDFLAGS="%{__global_ldflags} -lm"
%endif
%configure
@ -71,6 +71,7 @@ export LDFLAGS="%{__global_ldflags} -lm"
%changelog
* Mon Oct 24 2022 David Abdurachmanov <davidlt@rivosinc.com> - 5.0.1-3.0.riscv64
- Disable LTO on riscv64
- Link to libm
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild