Enable wasi rlbox for s390x on f40+

This commit is contained in:
Jan Horak 2024-04-03 15:39:37 +02:00
parent fc9a1bf390
commit 5075171b4c

View File

@ -33,12 +33,17 @@ ExcludeArch: i686
%else
%global enable_replace_malloc 0
%endif
# wasi_sdk is for sandboxing third party c/c++ libs by using rlbox
# wasi_sdk is for sandboxing third party c/c++ libs by using rlbox, exclude s390x on the f39.
%if 0%{?fedora} < 40
%ifarch s390x
%bcond wasi_sdk 0
%else
%bcond wasi_sdk 1
%endif
%else
%bcond wasi_sdk 1
%endif
%if "%{toolchain}" == "clang"
%global build_with_clang 1