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 %else
%global enable_replace_malloc 0 %global enable_replace_malloc 0
%endif %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 %ifarch s390x
%bcond wasi_sdk 0 %bcond wasi_sdk 0
%else %else
%bcond wasi_sdk 1 %bcond wasi_sdk 1
%endif %endif
%else
%bcond wasi_sdk 1
%endif
%if "%{toolchain}" == "clang" %if "%{toolchain}" == "clang"
%global build_with_clang 1 %global build_with_clang 1