diff options
author | Guillem Jover <guillem@debian.org> | 2006-01-28 04:29:10 +0000 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2006-01-28 04:29:10 +0000 |
commit | 6e2356c0e90a7ae4e9ae91212133ffb0f46ae26f (patch) | |
tree | 066321dc2ba983eddc3a46efb0decfaa78960e59 /scripts | |
parent | e9851ad3e0562fbe53a535d32bc8c1d0a32c929e (diff) | |
download | dpkg-6e2356c0e90a7ae4e9ae91212133ffb0f46ae26f.tar.gz |
Make dpkg-architecture not print the warning about a missmatch between
gcc target machine type and GNU target system type if the actions are
'-e' or '-i'.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dpkg-architecture.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dpkg-architecture.pl b/scripts/dpkg-architecture.pl index 138047516..82abb4c61 100755 --- a/scripts/dpkg-architecture.pl +++ b/scripts/dpkg-architecture.pl @@ -200,7 +200,7 @@ $deb_host_gnu_type = $req_host_gnu_type if $req_host_gnu_type ne ''; #$gcc = `\${CC:-gcc} --print-libgcc-file-name`; #$gcc =~ s!^.*gcc-lib/(.*)/\d+(?:.\d+)*/libgcc.*$!$1!s; -&warn("Specified GNU system type $deb_host_gnu_type does not match gcc system type $gcc.") if ($gcc ne '') && ($gcc ne $deb_host_gnu_type); +&warn("Specified GNU system type $deb_host_gnu_type does not match gcc system type $gcc.") if !($req_is_arch or $req_eq_arch) && ($gcc ne '') && ($gcc ne $deb_host_gnu_type); # Split the Debian and GNU names ($deb_host_arch_os, $deb_host_arch_cpu) = &split_debian($deb_host_arch); |