This is an automated email from the git hooks/post-receive script. cesarefalco-guest pushed a commit to branch master in repository mame.
commit a48a0cb054db8939c0b22434448cc83695efc9e0 Author: Cesare Falco <[email protected]> Date: Sun May 22 15:51:49 2016 +0200 Memory required by ld reduced for all archs (and remove -g gcc switch when no DEBUG requested). --- debian/rules | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/debian/rules b/debian/rules index e78aa21..7dc3b35 100755 --- a/debian/rules +++ b/debian/rules @@ -17,14 +17,8 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) # add c++ hardening options (upstream makefile doesn't use CPPFLAGS) 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,--no-keep-memory -# Disable -g entirely -CFLAGS := $(CFLAGS:-g=-g0) -endif # taken verbatim from debian policy ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) @@ -176,6 +170,11 @@ DEB_MAME_OPTS = \ SUBTARGET=mame \ TOOLS=1 +ifndef DEBUG +# Disable -g entirely +CFLAGS := $(CFLAGS:-g=-g0) +endif + %: dh $@ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mame.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

