The following commit has been merged in the master branch:
commit e999a9473d635b7f9f520c4dfd38af333ab101cc
Author: Martin Erik Werner <[email protected]>
Date:   Fri Apr 27 04:07:34 2012 +0200

    Add all the dpkg-buildflags to the configure step
    
    I though this was done automatically, ohwell...

diff --git a/debian/rules b/debian/rules
index bc0565f..0e46143 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+DH_VERBOSE=1
+
 # Compatible with Ubuntu 11.10
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
@@ -12,9 +14,13 @@ LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 
 override_dh_auto_configure:
        dh_auto_configure -- \
+               CPPFLAGS="$(CPPFLAGS)" \
+               CFLAGS="$(CFLAGS)" \
+               CXXFLAGS="$(CXXFLAGS)" \
+               LDFLAGS="$(LDFLAGS)" \
                bindir=/usr/games \
                libexecdir=/usr/lib/games \
-               datadir=/usr/share/games \
+               datadir=/usr/share/games
 
 override_dh_auto_install:
        dh_auto_install

-- 
Packaging for lierolibre

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to