[mupen64plus] 198/262: Use externally provided LDFLAGS

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:59:35 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 6192128d04903f73a8700c9d6cc922a27e713959
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Wed Sep 8 17:17:10 2010 +0200

    Use externally provided LDFLAGS
---
 debian/changelog | 1 +
 debian/rules     | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d708799..9cb8d3d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ mupen64plus (1.5+dfsg1-14) UNRELEASED; urgency=low
   * set *FLAGS using dpkg-buildflags in debian/rules to work like
     dpkg-buildpackage when called directly
   * Use hardening-includes for CFLAGS and LDFLAGS hardened builds
+  * Use externally provided LDFLAGS
 
  -- Sven Eckelmann <sven.eckelmann at gmx.de>  Mon, 26 Jul 2010 14:22:39 +0200
 
diff --git a/debian/rules b/debian/rules
index ab353cc..15769cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,8 @@ CFLAGS += $(HARDENING_CFLAGS)
 CXXFLAGS += $(HARDENING_CFLAGS)
 LDFLAGS += $(HARDENING_LDFLAGS)
 
+LDFLAGS += -Wl,--as-needed
+
 DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 MAKEOPTIONS = UNAME='$(DEB_HOST_GNU_CPU)' DBGSYM=1 DBG=1 PREFIX=/usr/ LIBDIR=/usr/lib/mupen64plus/ BINDIR=/usr/games/
 
@@ -29,7 +31,7 @@ override_dh_auto_clean:
 
 override_dh_auto_build:
 	mkdir -p "$(CURDIR)/plugins"
-	LDFLAGS='-Wl,--as-needed' dh_auto_build -- all $(MAKEOPTIONS)
+	dh_auto_build -- all $(MAKEOPTIONS)
 
 override_dh_auto_install:
 	dh_auto_install -- $(MAKEOPTIONS)

-- 
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