[mupen64plus-video-z64] 22/161: Use externally provided LDFLAGS

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:20:22 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-video-z64.

commit 3df6e0ca9c75a5624fd8bb68f8e08a81b4c93983
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Wed Sep 8 17:17:11 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 006a8e3..9652db9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,7 @@ mupen64plus-video-z64 (1.99.4~hg20100403-1) 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, 15 Feb 2010 18:40:00 +0100
 
diff --git a/debian/rules b/debian/rules
index 790fa95..6743963 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)
 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 MAKEOPTIONS = V=1 UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/
@@ -22,7 +24,7 @@ get-orig-source:
 	uscan --verbose --force-download
 
 override_dh_auto_build:
-	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-video-z64.git



More information about the Pkg-games-commits mailing list