Преглед изворни кода

dpkg-architecture: Clarify warning about mismatched GNU system type

The way to avoid the warning when cross-building is to set a correct
CC environment variable.
Guillem Jover пре 14 година
родитељ
комит
65093cd63d
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      scripts/dpkg-architecture.pl

+ 2 - 1
scripts/dpkg-architecture.pl

@@ -250,7 +250,8 @@ if (action_needs(DEB_HOST | DEB_GNU_INFO)) {
 
     my $gcc = get_gcc_host_gnu_type();
 
-    warning(_g("Specified GNU system type %s does not match gcc system type %s."),
+    warning(_g("specified GNU system type %s does not match gcc system " .
+               "type %s, try setting a correct CC environment variable"),
             $v{DEB_HOST_GNU_TYPE}, $gcc)
         if ($gcc ne '') && ($gcc ne $v{DEB_HOST_GNU_TYPE});
 }