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 | d7367a3be7647d7e60aed12a345a370a04e8a516 (patch) | |
tree | 58a905e3d5b53f7ae2cb0bc03f103dc2684d0c15 /XMonad | |
parent | 5b18bcbdaa56b57555538edbcfc6ec5956896b41 (diff) | |
download | xmonad-d7367a3be7647d7e60aed12a345a370a04e8a516.tar.gz xmonad-d7367a3be7647d7e60aed12a345a370a04e8a516.tar.xz xmonad-d7367a3be7647d7e60aed12a345a370a04e8a516.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.gz
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: |