Source: tweak
Version: 3.02-3
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap

tweak fails to cross build from source, because it uses the build
architecture compiler as linker. The upstream Makefile stores the
compiler in two variables CC and LINK and dh_auto_build only supplies
the former. We could add an override_dh_auto_build to fix that, but it
seems much more natural to default LINK to $(CC). Please consider
applying the attached patch.

Helmut
--- tweak-3.02.orig/Makefile
+++ tweak-3.02/Makefile
@@ -18,7 +18,7 @@
 
 CC ?= gcc
 CFLAGS ?= -g -Wall $(XFLAGS)
-LINK ?= gcc
+LINK ?= $(CC)
 
 PREFIX=$(DESTDIR)/usr/local
 BINDIR=$(PREFIX)/bin

Reply via email to