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 debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to