Bug#444727: zlib: fails to cross-build due to incomplete use of make flags

2007-09-30 Thread Mark Brown
On Sun, Sep 30, 2007 at 10:01:06PM +0100, Neil Williams wrote: > Mark Brown <[EMAIL PROTECTED]> wrote: > > Checking the code in the configure script it appears to try to propagate > > the CC it was given to the Makefile and in a brief test (I don't have a > > second compiler to try here) it certai

Bug#444727: zlib: fails to cross-build due to incomplete use of make flags

2007-09-30 Thread Neil Williams
On Sun, 30 Sep 2007 21:16:36 +0100 Mark Brown <[EMAIL PROTECTED]> wrote: > > It doesn't work via configure. The very first thing I tried > > was ./configure --build --host etc. That is always the first thing I > > try - it is the standard way of working with cross-building. > > So then the patch

Bug#444727: zlib: fails to cross-build due to incomplete use of make flags

2007-09-30 Thread Mark Brown
On Sun, Sep 30, 2007 at 06:12:13PM +0100, Neil Williams wrote: > On Sun, 30 Sep 2007 17:53:29 +0100 > Mark Brown <[EMAIL PROTECTED]> wrote: > > You really need to do this via the configure script or similarly. > It doesn't work via configure. The very first thing I tried > was ./configure --buil

Bug#444727: zlib: fails to cross-build due to incomplete use of make flags

2007-09-30 Thread Neil Williams
On Sun, 30 Sep 2007 17:53:29 +0100 Mark Brown <[EMAIL PROTECTED]> wrote: > On Sun, Sep 30, 2007 at 03:56:00PM +0100, Neil Williams wrote: > > > The top level 'make' command tries to use gcc instead of > > $(DEB_HOST_GNU_TYPE)-gcc and the LDSHARED value also sets 'gcc' instead > > of $(DEB_HOST_GN

Bug#444727: zlib: fails to cross-build due to incomplete use of make flags

2007-09-30 Thread Mark Brown
tag 444727 - patch thanks On Sun, Sep 30, 2007 at 03:56:00PM +0100, Neil Williams wrote: > The top level 'make' command tries to use gcc instead of > $(DEB_HOST_GNU_TYPE)-gcc and the LDSHARED value also sets 'gcc' instead > of $(DEB_HOST_GNU_TYPE)-gcc. Similarly, the install targets try to use >

Bug#444727: zlib: fails to cross-build due to incomplete use of make flags

2007-09-30 Thread Neil Williams
Package: zlib Version: 1:1.2.3.3.dfsg-5 Severity: normal Tags: patch zlib used to cross-build successfully but only because of a bug in the cross-build scripts that consistently forced the override of $ENV{'MAKEFLAGS'}. Fixing this bug to allow other packages to build internal build tools correctl