Bug#1110324: ttyrec FTCBFS: Uses build arch compiler
Package: ttyrec
Version: 1.1.7.1-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: debian-cross@lists.debian.org
Hi,
The configure script in ttyrec searches for CC variable and conditionally
sets it to gcc if unset. This fails during cross compilation since this
uses the native compiler.
The patch pasted at the end of this mail should explicitly export it to the
right value. Please consider applying.
Thanks
Nilesh
diff --git a/debian/rules b/debian/rules
index 126b64e..dc028e3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
-
+include /usr/share/dpkg/architecture.mk
+DPKG_EXPORT_BUILDTOOLS=1
+include /usr/share/dpkg/buildtools.mk
export NO_STATIC_ZSTD := 1
%:
Reply to: