On Wed, 7 Nov 2007 19:09:01 +0100 Peter Eisentraut <[EMAIL PROTECTED]> wrote:
Forgot to keep the bug report in CC. Sorry. > Neil Williams wrote: > > Actually, packages fail to cross compile with it set because CDBS > > sets 'gcc' > > It does no such thing. It does - CC=gcc The effect of DEB_CONFIGURE_SCRIPT_ENV is that the package tries to cross build using gcc which simply breaks. Unset DEB_CONFIGURE_SCRIPT_ENV for the crossbuild and gcc gets the value from --host and works fine. This is ONLY relevant for cross building and cross building support has been entirely rewritten recently. The main change was to stop passing CC to all packages so that certain packages could get a sensible setting for CC_FOR_BUILD. The $(CC) setting should come from --host, NOT from DEB_CONFIGURE_SCRIPT_ENV. Unset DEB_CONFIGURE_SCRIPT_ENV and the cross build gets $(CC) from --host as it should. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
pgpWgoUvROo7d.pgp
Description: PGP signature

