[SCM] Emulator of the Super Nintendo Entertainment System (TM) branch, master, updated. debian/1.510+bz2-3-7-g31bf3b5

Etienne Millon me at emillon.org
Fri Jun 29 21:02:55 UTC 2012


The following commit has been merged in the master branch:
commit 31bf3b55cde6142ad95524f254224d126b01df8b
Author: Etienne Millon <me at emillon.org>
Date:   Fri Jun 29 18:33:50 2012 +0200

    Add -Wl,--as-needed to LDFLAGS

diff --git a/debian/changelog b/debian/changelog
index c872a77..1cab709 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ zsnes (1.510+bz2-4) UNRELEASED; urgency=low
   * debian/rules :
     - use find -delete instead of shell globbing
     - use dpkg-buildflags
+    - add -Wl,--as-needed to LDFLAGS (Closes: #607311)
 
  -- Etienne Millon <etienne.millon at gmail.com>  Fri, 29 Jun 2012 17:37:53 +0200
 
diff --git a/debian/rules b/debian/rules
index a8fa9d7..e1a3231 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@
 #export DH_VERBOSE=1
 #export DH_OPTIONS=-v
 
-export DEB_LDFLAGS_MAINT_APPEND = -lpthread
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -lpthread
 
 %:
 	dh $@ --sourcedirectory=src --with autoreconf

-- 
Emulator of the Super Nintendo Entertainment System (TM)



More information about the Pkg-games-commits mailing list