Sabotage debuginfo on s390x

https://pagure.io/fedora-infrastructure/issue/11000
This commit is contained in:
Michael Catanzaro 2022-12-20 14:41:46 -06:00
parent fe40d5cdfa
commit 910efa726d

View File

@ -306,11 +306,13 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0
# Require 32 GB of RAM per vCPU for debuginfo processing. 16 GB is not enough.
%global _find_debuginfo_opts %limit_build -m 32768
# Remove debuginfo from 32-bit builds to reduce memory consumption even more.
# No amount of optimizing is going to work here.
# Reduce debuginfo verbosity 32-bit builds to reduce memory consumption even more.
# https://bugs.webkit.org/show_bug.cgi?id=140176
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/I6IVNA52TXTBRQLKW45CJ5K4RA4WNGMI/
%ifarch %{ix86}
#
# Do this for s390x too as a temporary measure.
# https://pagure.io/fedora-infrastructure/issue/11000
%ifarch %{ix86} s390x
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
%endif