[webkitgtk] Enable memory saving linker flags on all architectures
Kalev Lember
kalev at fedoraproject.org
Thu May 15 21:05:57 UTC 2014
commit 2d8b4a39d47a4bd74be83f75a5775a598a39e321
Author: Kalev Lember <kalevlember at gmail.com>
Date: Thu May 15 21:43:25 2014 +0200
Enable memory saving linker flags on all architectures
Similar to what webkitgtk3 is doing, enable the -Wl,--no-keep-memory
and -Wl,--reduce-memory-overheads flags on all architectures.
webkitgtk.spec | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/webkitgtk.spec b/webkitgtk.spec
index 04a12df..bd4c970 100644
--- a/webkitgtk.spec
+++ b/webkitgtk.spec
@@ -106,10 +106,8 @@ This package contains developer documentation for %{name}.
%patch8 -p1 -b .ppc64le
%build
-%ifarch s390 %{arm} ppc
-# Use linker flags to reduce memory consumption on low-mem architectures
+# Use linker flags to reduce memory consumption
%global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
-%endif
%ifarch s390 %{arm}
# Decrease debuginfo verbosity to reduce memory consumption even more
More information about the scm-commits
mailing list