From 0ece072912ef34ea7778977af0301b3211e81c37 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 10 Aug 2022 22:58:40 +0200 Subject: [PATCH] Disable debuginfo for ppc64le and s390x builds --- webkitgtk.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webkitgtk.spec b/webkitgtk.spec index 2e3d21f..c3d51cb 100644 --- a/webkitgtk.spec +++ b/webkitgtk.spec @@ -300,7 +300,9 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0 # Remove debuginfo from 32-bit builds to reduce memory consumption: # https://bugs.webkit.org/show_bug.cgi?id=140176 # https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/I6IVNA52TXTBRQLKW45CJ5K4RA4WNGMI/ -%ifarch %{ix86} +# Additionally, disable debuginfo for ppc64le and s390x builds as well as we +# have trouble with the koji builders, https://pagure.io/releng/issue/10909 +%ifarch %{ix86} ppc64le s390x %global debug_package %{nil} %global optflags %(echo %{optflags} | sed 's/-g /-g0 /') %endif