forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ghc-7.8.3-linker-warn.patch
35 lines (27 loc) · 1.29 KB
/
ghc-7.8.3-linker-warn.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
commit 326046739801a380c5457ef4c87bce8fb95497ba
Author: Sergei Trofimovich <[email protected]>
Date: Sun Aug 10 22:12:28 2014 +0300
systools info: fix warning about C compiler (message said about linker)
Summary: Signed-off-by: Sergei Trofimovich <[email protected]>
Test Plan: build-tested
Reviewers: austin
Reviewed By: austin
Subscribers: phaskell, simonmar, relrod, ezyang, carter
Differential Revision: https://phabricator.haskell.org/D132
diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs
index 1c1c52c..72fa19b 100644
--- a/compiler/main/SysTools.lhs
+++ b/compiler/main/SysTools.lhs
@@ -809,10 +809,10 @@ getCompilerInfo' dflags = do
)
(\err -> do
debugTraceMsg dflags 2
- (text "Error (figuring out compiler information):" <+>
+ (text "Error (figuring out C 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