[webkitgtk3] Special case %{arm} to avoid generating full debuginfo
Kalev Lember
kalev at fedoraproject.org
Fri Jun 7 14:07:54 UTC 2013
commit 6457308221d8a4b3c193201db98bbfa2557e93cb
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 441afed..a886ed6 100644
--- a/webkitgtk3.spec
+++ b/webkitgtk3.spec
@@ -102,9 +102,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