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 [[email protected]]
Sent: Friday, October 07, 2011 3:42 PM
To: Tom Hughes (Palm GBU)
Cc: [email protected]
Subject: Re: dpkg-architecture -aANYTHING displays warning about GNU system type

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 $gcc_host_gnu_type = `\${CC:-gcc} -dumpmachine`;
[...]
> +             $gcc_host_gnu_type = `$gcc-gcc -dumpmachine`;

Hm.  Please forgive my ignorance: shouldn't the $CC envvar be being
set automatically by the caller (e.g., dpkg-buildpackage), for there
to be any hope that the rules in debian/rules will actually work?



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to