[mame] 02/03: Use linker options for all archs (or now will fail 64bit ones)

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 bdd91d9ef25954cfdb8909ed7d52a1865227165a
Author: Cesare Falco <c.falco at ubuntu.com>
Date:   Sat May 14 23:14:41 2016 +0200

    Use linker options for all archs (or now will fail 64bit ones)
---
 debian/rules | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2dc16a5..17bfa12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,10 +19,11 @@ export DEB_CFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)
 
 # Try to deal with mame's linking requiring huge amounts of memory and
 # 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,--as-needed,--no-keep-memory,--reduce-memory-overheads,--hash-size=2
+
+# Sacrifice linking speed to avoid using so much memory
+ifeq ($(DEB_HOST_ARCH_BITS),32)
 # 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