Disable debuginfo on s390x (oom-kill)

This commit is contained in:
Josh Stone 2019-02-28 20:29:19 -08:00
parent aa7902f580
commit a87304bdb0

View File

@ -472,7 +472,7 @@ export LIBSSH2_SYS_USE_PKG_CONFIG=1
%global common_libdir %{_prefix}/lib %global common_libdir %{_prefix}/lib
%global rustlibdir %{common_libdir}/rustlib %global rustlibdir %{common_libdir}/rustlib
%ifarch %{arm} %{ix86} %ifarch %{arm} %{ix86} s390x
# full debuginfo is exhausting memory; just do libstd for now # full debuginfo is exhausting memory; just do libstd for now
# https://github.com/rust-lang/rust/issues/45854 # https://github.com/rust-lang/rust/issues/45854
%if (0%{?fedora} && 0%{?fedora} < 27) || (0%{?rhel} && 0%{?rhel} <= 7) %if (0%{?fedora} && 0%{?fedora} < 27) || (0%{?rhel} && 0%{?rhel} <= 7)