Source: wmifinfo
Version: 0.10-2
Tags: patch upstream
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.

--- wmifinfo-0.10.orig/Makefile
+++ wmifinfo-0.10/Makefile
@@ -12,7 +12,7 @@
 CC = gcc
-LD = gcc
+LD = $(CC)
 INSTALL = install
 CFLAGS = -Wall -O2

Reply via email to