From: Tollef Fog Heen Date: Sun, 16 Jul 2017 17:34:44 +0000 (+0200) Subject: Let dh_auto_build pass cross compilers. Thanks to Helmut Grohne for patch. X-Git-Tag: debian/3.8-4~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31db9d2be1fbb1f567be3e9bb9fcfc01d5afe4e6;p=sash Let dh_auto_build pass cross compilers. Thanks to Helmut Grohne for patch. --- diff --git a/debian/changelog b/debian/changelog index 1033744..cc4ab30 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ sash (3.8-4) unstable; urgency=medium * Add debconf warning about sashroot user instead of trying to remove it, since userdel is unable to properly delete it. Closes: #783031 + * Let dh_auto_build pass cross compilers. Thanks to Helmut Grohne for + patch. -- Tollef Fog Heen Sun, 16 Jul 2017 19:13:30 +0200 diff --git a/debian/rules b/debian/rules index 47b4d79..0638323 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,7 @@ BUILT_USING := $(shell dpkg-query -f '$${source:Package} (= $${source:Version}), dh $@ override_dh_auto_build: - $(MAKE) OPT="`dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS`" LDFLAGS="-static `dpkg-buildflags --get LDFLAGS`" + dh_auto_build -- OPT="`dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS`" LDFLAGS="-static `dpkg-buildflags --get LDFLAGS`" override_dh_auto_install: make install BINDIR=$(pkgdir)/bin MANDIR=$(pkgdir)/usr/share/man