dev-lang/ghc: bump up to 8.6.4
[gentoo.git] / dev-lang / ghc / files / ghc-7.8.3-linker-warn.patch
1 commit 326046739801a380c5457ef4c87bce8fb95497ba
2 Author: Sergei Trofimovich <slyfox@gentoo.org>
3 Date:   Sun Aug 10 22:12:28 2014 +0300
4
5     systools info: fix warning about C compiler (message said about linker)
6     
7     Summary: Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
8     
9     Test Plan: build-tested
10     
11     Reviewers: austin
12     
13     Reviewed By: austin
14     
15     Subscribers: phaskell, simonmar, relrod, ezyang, carter
16     
17     Differential Revision: https://phabricator.haskell.org/D132
18
19 diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs
20 index 1c1c52c..72fa19b 100644
21 --- a/compiler/main/SysTools.lhs
22 +++ b/compiler/main/SysTools.lhs
23 @@ -809,10 +809,10 @@ getCompilerInfo' dflags = do
24              )
25              (\err -> do
26                  debugTraceMsg dflags 2
27 -                    (text "Error (figuring out compiler information):" <+>
28 +                    (text "Error (figuring out C compiler information):" <+>
29                       text (show err))
30                  errorMsg dflags $ hang (text "Warning:") 9 $
31 -                  text "Couldn't figure out linker information!" $$
32 +                  text "Couldn't figure out C compiler information!" $$
33                    text "Make sure you're using GNU gcc, or clang"
34                  return UnknownCC)
35    return info