Source: yash
Version: 2.52-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

Dear maintainer,

yash fails to cross build from source, because the (hand-written)
configure script does not use the correct compiler to test-compile.
Attached is a small patch that fixes the build.

Cheers
Timo


--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
diff --git a/debian/rules b/debian/rules
index 72a8aa8..6de1ca6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,11 +11,12 @@
 
 export LANG=C
 DPKG_EXPORT_BUILDFLAGS=1
+include /usr/share/dpkg/architecture.mk
 include /usr/share/dpkg/buildflags.mk
 
 %:
 	dh $@
 
 override_dh_auto_configure:
-	./configure --prefix=/usr
+	CC=$(DEB_HOST_GNU_TYPE)-gcc ./configure --prefix=/usr
 	

Attachment: signature.asc
Description: PGP signature

Reply via email to