diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2021-11-13 03:59:48 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2021-11-27 19:47:09 +0000 |
commit | f67060c6dcc2ba14949ab5e8a4ffe46bceadc14f (patch) | |
tree | 84b5821d2fa4ca215c6e1b0b03024059fd3ee7b7 /compiler/GHC/Settings.hs | |
parent | 88481c942a24e8ffa1705fc51b0bc900ca311ea7 (diff) | |
download | haskell-f67060c6dcc2ba14949ab5e8a4ffe46bceadc14f.tar.gz |
Make ambient MinGW support a proper settings
Get rid of `USE_INPLACE_MINGW_TOOLCHAIN` and use a settings file entry
instead.
The CPP setting was originally introduced in f065b6b012.
Diffstat (limited to 'compiler/GHC/Settings.hs')
-rw-r--r-- | compiler/GHC/Settings.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/GHC/Settings.hs b/compiler/GHC/Settings.hs index 73f3b97b54..679d0266fe 100644 --- a/compiler/GHC/Settings.hs +++ b/compiler/GHC/Settings.hs @@ -22,6 +22,7 @@ module GHC.Settings , sLdSupportsFilelist , sLdIsGnuLd , sGccSupportsNoPie + , sUseInplaceMinGW , sPgm_L , sPgm_P , sPgm_F @@ -89,6 +90,7 @@ data ToolSettings = ToolSettings , toolSettings_ldSupportsFilelist :: Bool , toolSettings_ldIsGnuLd :: Bool , toolSettings_ccSupportsNoPie :: Bool + , toolSettings_useInplaceMinGW :: Bool -- commands for particular phases , toolSettings_pgm_L :: String @@ -190,6 +192,8 @@ sLdIsGnuLd :: Settings -> Bool sLdIsGnuLd = toolSettings_ldIsGnuLd . sToolSettings sGccSupportsNoPie :: Settings -> Bool sGccSupportsNoPie = toolSettings_ccSupportsNoPie . sToolSettings +sUseInplaceMinGW :: Settings -> Bool +sUseInplaceMinGW = toolSettings_useInplaceMinGW . sToolSettings sPgm_L :: Settings -> String sPgm_L = toolSettings_pgm_L . sToolSettings |