Link to libatomic on riscv64
Future GHC versions already check for that: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6820/commits Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
5dfb2bd4d6
commit
503c583851
6
ghc.spec
6
ghc.spec
@ -52,7 +52,7 @@ Version: 8.10.7
|
||||
# - release can only be reset if *all* library versions get bumped simultaneously
|
||||
# (sometimes after a major release)
|
||||
# - minor release numbers for a branch should be incremented monotonically
|
||||
Release: 121%{?dist}
|
||||
Release: 121.0.riscv64%{?dist}
|
||||
Summary: Glasgow Haskell Compiler
|
||||
|
||||
License: BSD and HaskellReport
|
||||
@ -415,6 +415,7 @@ export CC=%{_bindir}/gcc
|
||||
--enable-unregisterised \
|
||||
%endif
|
||||
%{?with_dwarf:--enable-dwarf-unwind} \
|
||||
LIBS="-latomic" \
|
||||
%{nil}
|
||||
|
||||
# avoid "ghc: hGetContents: invalid argument (invalid byte sequence)"
|
||||
@ -673,6 +674,9 @@ env -C %{ghc_html_libraries_dir} ./gen_contents_index
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Oct 24 2022 David Abdurachmanov <davidlt@rivosinc.com> - 8.10.7-121.0.riscv64
|
||||
- Link to libatomic for riscv64
|
||||
|
||||
* Sat Aug 6 2022 Jens Petersen <petersen@redhat.com> - 8.10.7-121
|
||||
- ghc-compiler conflicts with ghc8.10-compiler-8.10.7
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user