Source: epstool Version: 3.08+repack-7 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
epstool has separate makefile variables for the linker and the compiler and defaults both to gcc for unix builds. dh_auto_build only passes CC, so epstool uses plain gcc for linking and thus fails to cross build. I think it would be reasonable to default the linker to $(CC) in this case and that makes epstool cross buildable. Please consider applying the attached patch. Helmut
--- epstool-3.08+repack.orig/src/unixcom.mak +++ epstool-3.08+repack/src/unixcom.mak @@ -27,8 +27,8 @@ CCAUX=gcc CC=gcc LFLAGS=$(PLINK) $(LIBPNGLIBS) $(GTKLIBS) -CLINK=gcc $(LDFLAGS) -LINK=gcc $(LDFLAGS) +CLINK=$(CC) $(LDFLAGS) +LINK=$(CC) $(LDFLAGS) COMP=$(CC) -I$(SRCDIR) -I$(OBJDIR) $(CFLAGS) $(GSCFLAGS)