[commit: nofib] shake: Fix issue with setting ghc output in Shake build system. (349862e)

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


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

On branch  : shake

http://hackage.haskell.org/trac/ghc/changeset/349862e013c807c08f2965768a15262d6cdb565b

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

commit 349862e013c807c08f2965768a15262d6cdb565b
Author: David Terei <davidterei at gmail.com>
Date:   Mon Mar 4 01:25:13 2013 -0800

    Fix issue with setting ghc output in Shake build system.

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

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

diff --git a/Nofib.hs b/Nofib.hs
index c9d92a0..e179d05 100644
--- a/Nofib.hs
+++ b/Nofib.hs
@@ -213,7 +213,7 @@ buildRules r Build{..} = do
             name = takeFileName dir
         putNormal $ "==nofib== " ++ name ++ " : time to link " ++ name ++ " follows..."
         withResource r 1 $
-            system' compiler $ ["-Rghc-timing","-rtsopts","-o"++out] ++ os ++ way ++ words (config "SRC_HC_OPTS")
+            system' compiler $ ["-Rghc-timing","-rtsopts","-o",out] ++ os ++ way ++ words (config "SRC_HC_OPTS")
         putNormal $ "==nofib== " ++ name ++ ": size of " ++ name ++ " follows..."
         system' "size" [out]
 





More information about the ghc-commits mailing list