Skip to content

Commit adfd46f

Browse files
committed
Don't build Setup programs with -threaded
Revert ae0e752
1 parent f10ad01 commit adfd46f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cabal-install/src/Distribution/Client/SetupWrapper.hs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,10 @@ getExternalSetupMethod verbosity options pkg bt = do
10701070
(program, extraOpts) =
10711071
case compilerFlavor compiler of
10721072
GHCJS -> (ghcjsProgram, ["-build-runner"])
1073-
_ -> (ghcProgram, ["-threaded"])
1073+
_ -> (ghcProgram, [])
1074+
-- FIXME: don't enable -threaded unconditionnally: we may
1075+
-- only have vanilla libraries (but maybe we don't have them
1076+
-- either?)
10741077
cabalDep =
10751078
maybe
10761079
[]

0 commit comments

Comments
 (0)