Source: iputils
Version: 3:20180629-2
Severity: normal
Tags: patch
User:helm...@debian.org
Usertags: rebootstrap

Hi,

iputils fails to cross build from source, because it uses the build
architecture compiler.
Using "dh_auto_build" instead of "$(MAKE)" can solve this problem.
Please consider applying the attached patch.

Hieu.

diff -Nru iputils-20180629/debian/rules iputils-20180629/debian/rules
--- iputils-20180629/debian/rules       2018-08-03 23:53:09.000000000 +0700
+++ iputils-20180629/debian/rules       2018-08-03 23:53:09.000000000 +0700
@@ -17,11 +17,11 @@
 
 build-arch: configure
        dh_testdir
-       $(MAKE) $(TARGETS)
+       dh_auto_build -- $(TARGETS)
 
 build-indep: configure
        dh_testdir
-       $(MAKE) -C doc man
+       dh_auto_build -- -C doc man
 
 build: build-arch build-indep
 
-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com

Reply via email to