summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-06-16 15:52:56 +0800
committerMoritz Angermann <moritz.angermann@gmail.com>2021-06-16 15:52:56 +0800
commit730707f6bd9c1a24182aef6123c7127cadabfc50 (patch)
tree6a47430c6627efafe2f170a910efcd162f000925
parent3d5cb3352c1e1c20f0d5de427f4edbc765ce06d6 (diff)
downloadhaskell-wip/angerman/log-error.tar.gz
Add more error infowip/angerman/log-error
-rw-r--r--compiler/GHC/SysTools/Info.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/SysTools/Info.hs b/compiler/GHC/SysTools/Info.hs
index 12be61ea0b..0487b5e8cc 100644
--- a/compiler/GHC/SysTools/Info.hs
+++ b/compiler/GHC/SysTools/Info.hs
@@ -269,6 +269,7 @@ getCompilerInfo' logger pgm = do
text (show err))
errorMsg logger $ hang (text "Warning:") 9 $
text "Couldn't figure out C compiler information!" $$
- text "Make sure you're using GNU gcc, or clang"
+ text "Make sure you're using GNU gcc, or clang" $$
+ text (show err)
return UnknownCC
)