Do not attempt to build on s390x

lld is a build requirement of the WASI toolchain but is not yet
supported on s390x (although work is underway upstream). Therefore,
%nodejs_arches cannot be used here until that changes.
This commit is contained in:
Yaakov Selkowitz 2024-01-15 13:52:46 -05:00 committed by sgallagh
parent 245453d25e
commit 6042dd12a5

View File

@ -24,7 +24,8 @@ Patch: 0001-feat-allow-customization-of-build-environment.patch
# Binary artifacts in this package are aimed at the wasm32-wasi "architecture".
%global _binaries_in_noarch_packages_terminate_build 0
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
# would be %%{nodejs_arches} noarch, but lld is not yet supported on s390x
ExclusiveArch: %{ix86} x86_64 aarch64 ppc64le riscv64 noarch
BuildRequires: clang lld wasi-libc-devel
BuildRequires: nodejs-devel npm