[mupen64plus] 44/262: Compile with --as-needed to reduce binary dependencies

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:59:14 UTC 2015


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

ecsv-guest pushed a commit to branch master
in repository mupen64plus.

commit 36bb562f0641373f7a5930b43e447b1eed0adf43
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Tue Jun 2 17:41:16 2009 +0200

    Compile with --as-needed to reduce binary dependencies
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a7283d6..8f37270 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,7 @@ mupen64plus (1.5-3) UNRELEASED; urgency=low
     - Recompress man page with maximum compression
     - Install mupen64plus to /usr/games
     - Move plugin dir to /usr/lib/mupen64plus/
+    - Compile with --as-needed to reduce binary dependencies
   * Remove changes outside of debian/*
   * debian/patches:
     - Add 100-fix-desktop-file.patch, fix desktop file
diff --git a/debian/rules b/debian/rules
index 9a4d7e2..07007fd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 
 	mkdir -p $(CURDIR)/plugins
-	$(MAKE) all
+	LDFLAGS='-Wl,--as-needed' $(MAKE) all
 
 	touch $@
 

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



More information about the Pkg-games-commits mailing list