summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
)