Bug#644664: dpkg-architecture -aANYTHING displays warning about GNU system type

2011-10-07 Thread Tom Hughes
Package: dpkg Version: 1.15.5.6ubuntu4.5 Severity: normal Tags: patch Calling the dpkg-architecture command with the -a flag while cross compiling generates a warning that the Specified GNU system type does not match gcc system type. The underlying problem is that dpkg-architecture uses the wrong

Bug#644664: dpkg-architecture -aANYTHING displays warning about GNU system type

2011-10-07 Thread Jonathan Nieder
Hi, Tom Hughes wrote: [...] +++ b/scripts/Dpkg/Arch.pm @@ -66,11 +66,17 @@ my %debarch_to_debtriplet; return $ENV{DEB_BUILD_ARCH} || get_raw_build_arch(); } -sub get_gcc_host_gnu_type() -{ - return $gcc_host_gnu_type if defined $gcc_host_gnu_type; - - my

Bug#644664: dpkg-architecture -aANYTHING displays warning about GNU system type

2011-10-07 Thread Tom Hughes (Palm GBU)
I would have thought so as well, but when calling debuild -aarmel, nothing in the chain (debuild or dpkg-buildpackage) seems to set CC to the correct compiler and this warning is displayed during the build. Tom From: Jonathan Nieder [jrnie...@gmail.com]