[Debian-med-packaging] Bug#922192: epcr FTCBFS: builds for the wrong architecture

Do Thanh Trung trung.dothanh at toshiba-tsdv.com
Wed Feb 13 03:16:20 GMT 2019


Source: epcr
Version: 2.3.12-1-6
Severity: normal
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

Hi,

epcr fails to cross build because it does not pass cross build tools to 
make. Using "dh_auto_build" instead of "$(MAKE)" can solve this problem.

-------------- next part --------------
diff -Nru epcr-2.3.12-1/debian/rules epcr-2.3.12-1/debian/rules
--- epcr-2.3.12-1/debian/rules	2018-10-14 05:23:48.000000000 +0700
+++ epcr-2.3.12-1/debian/rules	2018-10-14 05:23:48.000000000 +0700
@@ -23,7 +23,7 @@
 	rm -f e-PCR famap fahash re-PCR
 
 override_dh_auto_build:
-	$(MAKE) links depend all OPTIMIZE=6
+	dh_auto_build -- links depend all OPTIMIZE=6
 
 override_dh_auto_install:
 	# do nothing
-------------- next part --------------
-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com


More information about the Debian-med-packaging mailing list