diff --git a/yesod/Devel.hs b/yesod/Devel.hs index 03d8795f..09ce09aa 100755 --- a/yesod/Devel.hs +++ b/yesod/Devel.hs @@ -66,8 +66,8 @@ devel isDevel = do checkCabalFile gpd _ <- if isDevel - then rawSystem "cabal-dev" ["configure", "--cabal-install-arg=-fdevel"] - else rawSystem "cabal" ["configure", "-fdevel"] + then rawSystem "cabal-dev" ["configure", "--cabal-install-arg=-fdevel", "--disable-library-profiling"] + else rawSystem "cabal" ["configure", "-fdevel", "--disable-library-profiling"] T.writeFile "dist/devel.hs" (develFile pid) diff --git a/yesod/main.hs b/yesod/main.hs index a5719efa..988edfc6 100755 --- a/yesod/main.hs +++ b/yesod/main.hs @@ -36,7 +36,7 @@ main = do #endif ["devel"] -> devel isDev ["version"] -> putStrLn "0.9" - "configure":rest -> rawSystem cmd ("configure":"--disable-library-profiling":rest) >>= exitWith + "configure":rest -> rawSystem cmd ("configure":rest) >>= exitWith _ -> do putStrLn "Usage: yesod " putStrLn "Available commands:"