[mame] 01/03: Try to further reduce memory used by linker on 32bit archs

Cesare Falco cesarefalco-guest at moszumanska.debian.org
Fri May 20 09:31:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

cesarefalco-guest pushed a commit to branch ubuntu/0.173-3
in repository mame.

commit 3e35619770fbef32be800e9650e17d6a1e13cd63
Author: Cesare Falco <c.falco at ubuntu.com>
Date:   Sat May 14 10:24:36 2016 +0200

    Try to further reduce memory used by linker on 32bit archs
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index b80edc3..2dc16a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,8 @@ export DEB_CFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)
 # causing problems on 32 bit architectures
 # Sacrifice linking speed to avoid using so much memory
 ifeq ($(DEB_HOST_ARCH_BITS),32)
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-keep-memory
+export DEB_LDFLAGS_MAINT_APPEND = \
+    -Wl,--as-needed,--no-keep-memory,--reduce-memory-overheads,--hash-size=2
 # Disable -g entirely
 CFLAGS := $(CFLAGS:-g=-g0)
 endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mame.git



More information about the Pkg-games-commits mailing list