aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime
diff options
context:
space:
mode:
Diffstat (limited to 'src/CabalHelper/Compiletime')
-rw-r--r--src/CabalHelper/Compiletime/Compile.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CabalHelper/Compiletime/Compile.hs b/src/CabalHelper/Compiletime/Compile.hs
index 94563fb..bd15537 100644
--- a/src/CabalHelper/Compiletime/Compile.hs
+++ b/src/CabalHelper/Compiletime/Compile.hs
@@ -453,6 +453,7 @@ runSetupHs opts@Options {..} db srcdir ever CabalInstallVersion {..}
go $ callProcessStderr opts (Just srcdir) setupProgram
where
parmake_opt
+ | Left _ <- ever = ["-j"]
| Right ver <- ever, ver >= Version [1,20] [] = ["-j"]
| otherwise = []