summaryrefslogtreecommitdiff
path: root/compiler/GHC/Settings.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Settings.hs')
-rw-r--r--compiler/GHC/Settings.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/GHC/Settings.hs b/compiler/GHC/Settings.hs
index 2014a437ca..92bfa75699 100644
--- a/compiler/GHC/Settings.hs
+++ b/compiler/GHC/Settings.hs
@@ -23,6 +23,7 @@ module GHC.Settings
, sLdIsGnuLd
, sGccSupportsNoPie
, sUseInplaceMinGW
+ , sArSupportsDashL
, sPgm_L
, sPgm_P
, sPgm_F
@@ -91,6 +92,7 @@ data ToolSettings = ToolSettings
, toolSettings_ldIsGnuLd :: Bool
, toolSettings_ccSupportsNoPie :: Bool
, toolSettings_useInplaceMinGW :: Bool
+ , toolSettings_arSupportsDashL :: Bool
-- commands for particular phases
, toolSettings_pgm_L :: String
@@ -197,6 +199,8 @@ sGccSupportsNoPie :: Settings -> Bool
sGccSupportsNoPie = toolSettings_ccSupportsNoPie . sToolSettings
sUseInplaceMinGW :: Settings -> Bool
sUseInplaceMinGW = toolSettings_useInplaceMinGW . sToolSettings
+sArSupportsDashL :: Settings -> Bool
+sArSupportsDashL = toolSettings_arSupportsDashL . sToolSettings
sPgm_L :: Settings -> String
sPgm_L = toolSettings_pgm_L . sToolSettings