| |
@@ -57,7 +57,7 @@
|
| |
|
| |
# ppc64le excluded pending resolution of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172
|
| |
#%%ifarch aarch64 ppc64le s390x x86_64
|
| |
- %ifarch aarch64 s390x x86_64
|
| |
+ %ifarch aarch64 s390x x86_64 riscv64
|
| |
%bcond_without vfs_cephfs
|
| |
%bcond_without ceph_mutex
|
| |
%else
|
| |
@@ -80,7 +80,7 @@
|
| |
|
| |
%if 0%{?fedora}
|
| |
|
| |
- %ifarch aarch64 ppc64le s390x x86_64
|
| |
+ %ifarch aarch64 ppc64le s390x x86_64 riscv64
|
| |
%bcond_without vfs_glusterfs
|
| |
%else
|
| |
%bcond_with vfs_glusterfs
|
| |
@@ -109,7 +109,7 @@
|
| |
# Build vfs_io_uring module by default on 64bit Fedora
|
| |
%if 0%{?fedora} || 0%{?rhel} >= 8
|
| |
|
| |
- %ifarch aarch64 ppc64le s390x x86_64
|
| |
+ %ifarch aarch64 ppc64le s390x x86_64 riscv64
|
| |
%bcond_without vfs_io_uring
|
| |
%else
|
| |
%bcond_with vfs_io_uring
|
| |
@@ -332,7 +332,7 @@
|
| |
|
| |
BuildRequires: pkgconfig(libsystemd)
|
| |
|
| |
- %ifnarch i686
|
| |
+ %ifnarch i686 riscv64
|
| |
%if 0%{?fedora} >= 37
|
| |
BuildRequires: mold
|
| |
%endif
|
| |
@@ -1272,7 +1272,7 @@
|
| |
# Use the mold linker if possible
|
| |
export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')"
|
| |
|
| |
- %ifnarch i686
|
| |
+ %ifnarch i686 riscv64
|
| |
%if 0%{?fedora} >= 37
|
| |
export LDFLAGS="%{__global_ldflags} -fuse-ld=mold"
|
| |
export python_LDFLAGS="$(echo ${LDFLAGS} | sed -e 's/-Wl,-z,defs//g')"
|
| |
Signed-off-by: David Abdurachmanov davidlt@rivosinc.com