Fix issue with setting ghc output in Shake build system.
authorDavid Terei <davidterei@gmail.com>
Mon, 4 Mar 2013 09:25:13 +0000 (01:25 -0800)
committerDavid Terei <davidterei@gmail.com>
Mon, 4 Mar 2013 09:25:13 +0000 (01:25 -0800)
Nofib.hs

index c9d92a0..e179d05 100644 (file)
--- 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]