The following commit has been merged in the master branch:
commit 65093cd63d8febba9b9ffb425a0b0a11619f35c0
Author: Guillem Jover <[email protected]>
Date:   Sun Oct 2 07:22:55 2011 +0200

    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.

diff --git a/scripts/dpkg-architecture.pl b/scripts/dpkg-architecture.pl
index f9f6b5f..97c0b9f 100755
--- a/scripts/dpkg-architecture.pl
+++ b/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});
 }

-- 
dpkg's main repository


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

Reply via email to