From 6042dd12a5756847dd4a08ae7000dd9960c7de00 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 15 Jan 2024 13:52:46 -0500 Subject: [PATCH] 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. --- nodejs-undici.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index 42126cd..74698dc 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -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