Skip to content

Commit

Permalink
Don't build Setup programs with -threaded
Browse files Browse the repository at this point in the history
Revert ae0e752
  • Loading branch information
hsyl20 committed Feb 21, 2025
1 parent f10ad01 commit adfd46f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cabal-install/src/Distribution/Client/SetupWrapper.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,10 @@ getExternalSetupMethod verbosity options pkg bt = do
(program, extraOpts) =
case compilerFlavor compiler of
GHCJS -> (ghcjsProgram, ["-build-runner"])
_ -> (ghcProgram, ["-threaded"])
_ -> (ghcProgram, [])
-- FIXME: don't enable -threaded unconditionnally: we may
-- only have vanilla libraries (but maybe we don't have them
-- either?)
cabalDep =
maybe
[]
Expand Down

0 comments on commit adfd46f

Please sign in to comment.