summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Session.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/Session.hs')
-rw-r--r--compiler/GHC/Driver/Session.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs
index ae352b8e83..3e43a86c6f 100644
--- a/compiler/GHC/Driver/Session.hs
+++ b/compiler/GHC/Driver/Session.hs
@@ -202,7 +202,7 @@ module GHC.Driver.Session (
-- * Linker/compiler information
LinkerInfo(..),
- CompilerInfo(..),
+ CompilerInfo(..), clang,
useXLinkerRPath,
-- * Include specifications
@@ -4865,6 +4865,10 @@ data CompilerInfo
| UnknownCC
deriving Eq
+clang :: CompilerInfo -- used in .hs-boot to make it resilient to
+ -- changes in CompilerInfo
+clang = Clang
+
-- | Should we use `-XLinker -rpath` when linking or not?
-- See Note [-fno-use-rpaths]