Bring back libatomic-static for RISC-V (riscv64)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2019-08-21 16:36:06 -07:00
parent 3326047100
commit 3d3a6ab3ff
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -319,6 +319,10 @@ BuildRequires: /usr/bin/pathfix.py
BuildRequires: python3-devel
BuildRequires: glibc-static pcre-static glib2-static zlib-static
# if -pthread is used GCC SPEC will add --as-needed -latomic --no-as-needed for linker
%ifarch riscv64
BuildRequires: libatomic-static
%endif
%if 0%{?hostqemu:1}
# For complicated reasons, this is required so that