[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:50 UTC 2012


The following commit has been merged in the master branch:
commit 863f80e32f10c9fd6445422af00c16a423ec7251
Author: Etienne Millon <me at emillon.org>
Date:   Fri Jun 29 18:22:13 2012 +0200

    Use build flags

diff --git a/debian/changelog b/debian/changelog
index dba07fc..541b4c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
 zsnes (1.510+bz2-4) UNRELEASED; urgency=low
 
   * Disable build on amd64 (Closes: #679526, #672935)
-  * debian/rules : use find -delete instead of shell globbing
   * debian/compat : use level 9 compatibility level
+  * debian/rules :
+    - use find -delete instead of shell globbing
+    - use dpkg-buildflags
 
  -- Etienne Millon <etienne.millon at gmail.com>  Fri, 29 Jun 2012 17:37:53 +0200
 
diff --git a/debian/rules b/debian/rules
index 4f652d2..12df958 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,12 +10,15 @@
 #export DH_VERBOSE=1
 #export DH_OPTIONS=-v
 
+export DEB_CFLAGS_MAINT_APPEND = -m32
+export DEB_LDFLAGS_MAINT_APPEND = -lpthread
+
 %:
 	dh $@ --sourcedirectory=src --with autoreconf
 
 override_dh_auto_configure:
 	dh_auto_configure --sourcedirectory=src -- \
-		CFLAGS=-m32 LDFLAGS=-lpthread --enable-opengl \
+		--enable-opengl \
 		--disable-cpucheck --enable-release \
 		--enable-libao force_arch=i486
 

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



More information about the Pkg-games-commits mailing list