diff options
author | Adam Vogt <vogt.adam@gmail.com> | 2013-01-01 04:50:34 +0100 |
---|---|---|
committer | Adam Vogt <vogt.adam@gmail.com> | 2013-01-01 04:50:34 +0100 |
commit | 6643621bde0e90c1779918a83800e72119ebb299 (patch) | |
tree | 58a905e3d5b53f7ae2cb0bc03f103dc2684d0c15 /XMonad | |
parent | a925d45b4b7c0ccbb1b650e6eafb7bf53672468a (diff) | |
download | metatile-6643621bde0e90c1779918a83800e72119ebb299.tar metatile-6643621bde0e90c1779918a83800e72119ebb299.zip |
Add flags for call to ghc closing issue 240
Ignore-this: 42a6a8599b615884c95626f74e3ba4a
The -main-is flag goes back to at least ghc 6.10, and maybe the warning that
this otherwise redundant flag enables (when xmonad.hs isn't a module Main)
also dates back that far.
darcs-hash:20130101035034-1499c-fd2fa2fef7c36882fa529f3f96777453b0b14d1c
Diffstat (limited to 'XMonad')
-rw-r--r-- | XMonad/Core.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Core.hs b/XMonad/Core.hs index 414437b..e3d1b27 100644 --- a/XMonad/Core.hs +++ b/XMonad/Core.hs @@ -460,7 +460,7 @@ recompile force = io $ do -- temporarily disable SIGCHLD ignoring: uninstallSignalHandlers status <- bracket (openFile err WriteMode) hClose $ \h -> - waitForProcess =<< runProcess "ghc" ["--make", "xmonad.hs", "-i", "-ilib", "-fforce-recomp", "-v0", "-o",binn] (Just dir) + waitForProcess =<< runProcess "ghc" ["--make", "xmonad.hs", "-i", "-ilib", "-fforce-recomp", "-main-is", "main", "-v0", "-o",binn] (Just dir) Nothing Nothing Nothing (Just h) -- re-enable SIGCHLD: |