systools info: fix warning about C compiler (message said about linker)
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 10 Aug 2014 19:12:28 +0000 (22:12 +0300)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 10 Aug 2014 19:12:28 +0000 (22:12 +0300)
Summary: Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

Test Plan: build-tested

Reviewers: austin

Reviewed By: austin

Subscribers: phaskell, simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D132

compiler/main/SysTools.lhs

index 1c1c52c..72fa19b 100644 (file)
@@ -809,10 +809,10 @@ getCompilerInfo' dflags = do
             )
             (\err -> do
                 debugTraceMsg dflags 2
-                    (text "Error (figuring out compiler information):" <+>
+                    (text "Error (figuring out compiler information):" <+>
                      text (show err))
                 errorMsg dflags $ hang (text "Warning:") 9 $
-                  text "Couldn't figure out linker information!" $$
+                  text "Couldn't figure out C compiler information!" $$
                   text "Make sure you're using GNU gcc, or clang"
                 return UnknownCC)
   return info