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.
This commit is contained in:
Kalev Lember 2014-05-15 21:43:25 +02:00
parent c07ecba9d4
commit 2d8b4a39d4

View File

@ -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