Skip to content

Commit

Permalink
don't generate js_dyn_hi files when booting on Windows since it affec…
Browse files Browse the repository at this point in the history
…ts performance considerably
  • Loading branch information
luite committed Jun 20, 2015
1 parent 286fce4 commit 91a1f63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src-bin/Boot.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,11 @@ cabalInstallFlags parmakeGhcjs = do
, "--haddock-hoogle"
#endif
, "--haddock-hyperlink-source"
-- don't slow down Windows builds too much, on other platforms we get this more
-- or less for free, thanks to dynamic-too
#ifndef WINDOWS
, "--enable-shared"
#endif
, bool prof "--enable-library-profiling" "--disable-library-profiling"
] ++
bool isWindows [] ["--root-cmd", toTextI (instDir </> "run" <.> "sh")] ++
Expand Down

0 comments on commit 91a1f63

Please sign in to comment.