Fix build on s390x

Resolves: RHEL-126377
This commit is contained in:
Jan Horak 2025-11-11 20:04:01 +01:00
parent 191c023d5b
commit c0a83b911b

View File

@ -1686,7 +1686,7 @@ MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
# __global_ldflags that normally sets this.
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}"
%endif
%ifarch %{ix86} %{s390x}
%ifarch %{ix86} s390x
export RUSTFLAGS="-Cdebuginfo=0"
echo 'export RUSTFLAGS="-Cdebuginfo=0"' >> .mozconfig
%endif