diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2018-04-16 22:51:37 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2018-04-16 22:51:37 +0200 |
commit | ec02a3a04b69fe32fddcf80734d6428183c69273 (patch) | |
tree | e0a8a9c4858884bf7f1383e5720dd8c6398a9da8 /src/CabalHelper | |
parent | 38b075369332aa88bb1a5638c90f40e30a249f46 (diff) |
Use `-j` when building Cabal HEAD
Diffstat (limited to 'src/CabalHelper')
-rw-r--r-- | src/CabalHelper/Compiletime/Compile.hs | 1 |
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 = [] |