debian: Fixed proper inclusion of Debian flags
authorJerome St-Louis <jerome@ecere.com>
Wed, 7 Nov 2012 14:19:05 +0000 (09:19 -0500)
committerJerome St-Louis <jerome@ecere.com>
Wed, 7 Nov 2012 14:19:05 +0000 (09:19 -0500)
debian/control
debian/rules

index eb59867..e9d7623 100644 (file)
@@ -3,6 +3,7 @@ Section: devel
 Priority: optional
 Maintainer: Jerome St-Louis <jerstlouis@gmail.com>
 Build-Depends: debhelper (>= 7.0.50~),
+               dpkg (>= 1.16.1),
                libffi-dev,
                libfontconfig1-dev,
                libfreetype6-dev,
index f281a2d..07246f3 100755 (executable)
@@ -2,6 +2,8 @@
 
 DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
 export DEBIAN_PACKAGE=1
+export DPKG_EXPORT_BUILDFLAGS=1
+include /usr/share/dpkg/buildflags.mk
 
 %:
        dh $@