Source: ircmarkers Version: 0.15-3 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
ircmarkers fails to cross build from source, because its upstream Makefile hard codes the build architecture compiler. Please consider applying the attached patch to make it substitutable. Helmut
--- ircmarkers-0.15.orig/Makefile +++ ircmarkers-0.15/Makefile @@ -4,11 +4,12 @@ VERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: ([^-]*)/') TGZ=$(NAME)_$(VERSION).orig.tar.gz TGZ_DIR=$(NAME)-$(VERSION) +CC=gcc all: overlap ircmarkers.1 overlap: overlap.c - gcc -g -O2 -Wall $(DEBUG) -o overlap overlap.c + $(CC) -g -O2 -Wall $(DEBUG) -o overlap overlap.c ircmarkers.1: ircmarkers pod2man --release="$(NAME)" --center="User Documentation" $< > $@