Source: wmifinfo
Version: 0.10-2
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

wmifinfo fails to cross build from source, because its Makefile uses two
variables (CC and LD) to supply the compiler, but dh_auto_build only
passes the former. I think it would be best to default LD to CC as in
most cases, that's what you want and it retains the ability to specify
it separately. It also makes wmifinfo cross buildable. Please consider
applying the attached patch.

Helmut
--- wmifinfo-0.10.orig/Makefile
+++ wmifinfo-0.10/Makefile
@@ -12,7 +12,7 @@
 VERSION=0.10
 
 CC = gcc
-LD = gcc
+LD = $(CC)
 INSTALL = install
 CFLAGS = -Wall -O2
 COPTS = -D'VERSION="$(VERSION)"' -D'NAME="$(NAME)"'

Reply via email to