Source: outguess
Version: 1:0.2+dfsg.1-4
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

outguess fails to cross build from source, because it uses the build
architecture compiler for the jpeg-6b-steg subdirectory. The ./configure
script correctly detects and forwards the cross compiler to the top
level Makefile, but it is not forwarded into the subdirectory. The
attached patch fixes that and makes outguess cross buildable. Please
consider applying it.

Helmut
--- outguess-0.2+dfsg.1.orig/Makefile.in
+++ outguess-0.2+dfsg.1/Makefile.in
@@ -45,7 +45,7 @@
 	ln -sf outguess $@
 
 $(JPEGDEP):
-	cd $(JPEGDIR); $(MAKE) -f makefile.ansi CFLAGS=-DHAVE_STDC_HEADERS libjpeg.a
+	$(MAKE) -C $(JPEGDIR) -f makefile.ansi 'CC=$(CC)' CFLAGS=-DHAVE_STDC_HEADERS libjpeg.a
 
 install: all
 	$(INSTALL_PROG) -m 755 outguess $(install_prefix)$(bindir)

Reply via email to