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 > gcc. Finally, 'make test' or 'make check' cannot operate in a You really need to do this via the configure script or similarly. In particular, you need to ensure that off64_t is detected properly since that has an effect on the ABI of the resulting library and it will probably fail to build in some combinations. > cross-building environment. The current build does ignore that error but > I've wrapped the call to 'make test' in the attached patch for clarity. Please submit separate patches for separate issues. > The patch has no effect if $(DEB_HOST_GNU_TYPE) matches the value of > $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) so I hope you will be > able to apply it and help Emdebian cross-build zlib more easily. I'm not enthusiatic about applying the patch as is due to the bypassing of the configuration script. -- "You grabbed my hand and we fell into it, like a daydream - or a fever."
signature.asc
Description: Digital signature