[webkitgtk3/f19] Special case %{arm} to avoid generating full debuginfo
Kalev Lember
kalev at fedoraproject.org
Fri Jun 7 14:04:38 UTC 2013
commit 89037c2366fae24f1b5a7f27140a994212ace332
Author: Kalev Lember <kalevlember at gmail.com>
Date: Fri Jun 7 15:29:01 2013 +0200
Special case %{arm} to avoid generating full debuginfo
Go back to -g1 on arm; still running out of memory during linking.
webkitgtk3.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/webkitgtk3.spec b/webkitgtk3.spec
index 535dd90..ddf5133 100644
--- a/webkitgtk3.spec
+++ b/webkitgtk3.spec
@@ -113,9 +113,9 @@ This package contains developer documentation for %{name}.
# Use linker flags to reduce memory consumption
%global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
-%ifarch s390 s390x
+%ifarch s390 s390x %{arm}
# Decrease debuginfo verbosity to reduce memory consumption even more
-%global optflags %(echo %{optflags} | sed 's/-g/-g1/')
+%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
%endif
%ifarch ppc
More information about the scm-commits
mailing list