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

Cesare Falco cesarefalco-guest at moszumanska.debian.org
Sat May 14 21:18:52 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 8abcfdd9649161b5fe296fbdf718f6fdcb82c8bd
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 37acf3b..b42f8c0 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