[commit: nofib] shake: Follow change in GHC make file generation for shake. (1b1783e)

David Terei davidterei at gmail.com
Mon Mar 4 10:28:58 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/nofib

On branch  : shake

http://hackage.haskell.org/trac/ghc/changeset/1b1783ee9ba88beeb1f7aa66e48c40a44215fdaa

>---------------------------------------------------------------

commit 1b1783ee9ba88beeb1f7aa66e48c40a44215fdaa
Author: David Terei <davidterei at gmail.com>
Date:   Mon Mar 4 01:25:41 2013 -0800

    Follow change in GHC make file generation for shake.

>---------------------------------------------------------------

 Nofib.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Nofib.hs b/Nofib.hs
index e179d05..41b5661 100644
--- a/Nofib.hs
+++ b/Nofib.hs
@@ -238,7 +238,7 @@ buildRules r Build{..} = do
     "//Main.deps" *> \out -> do
         let dir = unoutput out
         config <- readConfig' $ takeDirectory out </> "config.txt"
-        system' compiler $ ["-w","-M",dir </> config "MAIN","-i" ++ dir,"-dep-makefile=" ++ out] ++
+        system' compiler $ ["-w","-M",dir </> config "MAIN","-i" ++ dir,"-dep-makefile=" ++ out, "-dep-suffix", ""] ++
                            words (config "SRC_HC_OPTS")
         src <- liftIO $ readFile out
         need [x | x <- words src, takeExtension x `elem` [".hs",".lhs",".h"]]





More information about the ghc-commits mailing list