diff options
author | Alp Mestanogullari <alpmestan@gmail.com> | 2018-10-01 18:36:09 +0200 |
---|---|---|
committer | Andrey Mokhov <andrey.mokhov@gmail.com> | 2018-10-01 17:36:09 +0100 |
commit | 996afc7daaea8de48bec92de3b30c632ccc8dfad (patch) | |
tree | 034c1aa4277620706fcc68b0c3b513462d4511d9 | |
parent | 021e753b499d87fd2a6d34eb502ed3abac5b3791 (diff) | |
download | haskell-996afc7daaea8de48bec92de3b30c632ccc8dfad.tar.gz |
Pass 'threaded' flag to the GHC executable (#689)
-rw-r--r-- | src/Settings/Packages.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Settings/Packages.hs b/src/Settings/Packages.hs index ab9e8df6db..8ee2436123 100644 --- a/src/Settings/Packages.hs +++ b/src/Settings/Packages.hs @@ -82,7 +82,11 @@ packageArgs = do , builder (Cabal Flags) ? mconcat [ ghcWithInterpreter ? notStage0 ? arg "ghci" - , flag CrossCompiling ? arg "-terminfo" ] ] + , flag CrossCompiling ? arg "-terminfo" + -- the 'threaded' flag is True by default, but + -- let's record explicitly that we link all ghc + -- executables with the threaded runtime. + , arg "threaded" ] ] -------------------------------- ghcPkg -------------------------------- , package ghcPkg ? |