From: Simon Marlow Date: Mon, 16 Apr 2007 08:27:32 +0000 (+0000) Subject: fix building with pre-6.4 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=51d7a92b232199ead61a484394283f7183612e18 fix building with pre-6.4 --- diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs index a4224e9..c9993a2 100644 --- a/compiler/main/SysTools.lhs +++ b/compiler/main/SysTools.lhs @@ -474,7 +474,7 @@ xs `isContainedIn` ys = any (xs `isPrefixOf`) (tails ys) getGccEnv :: [Option] -> IO (Maybe [(String,String)]) getGccEnv opts = #if __GLASGOW_HASKELL__ < 603 - return (opts,Nothing) + return Nothing #else if null b_dirs then return Nothing