summaryrefslogtreecommitdiff
path: root/compiler/GHC/SysTools/Info.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/SysTools/Info.hs')
-rw-r--r--compiler/GHC/SysTools/Info.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/SysTools/Info.hs b/compiler/GHC/SysTools/Info.hs
index 039c1d12aa..fec6ecff15 100644
--- a/compiler/GHC/SysTools/Info.hs
+++ b/compiler/GHC/SysTools/Info.hs
@@ -241,7 +241,7 @@ getCompilerInfo' dflags = do
| any ("Apple clang version" `isPrefixOf`) stde =
return AppleClang
-- Unknown linker.
- | otherwise = fail "invalid -v output, or compiler is unsupported"
+ | otherwise = fail $ "invalid -v output, or compiler is unsupported: " ++ unlines stde
-- Process the executable call
info <- catchIO (do