X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fmain%2FDriverFlags.hs;h=94db1a4d2a9946cc572f58570e65e29a1025d82d;hb=a5840900804a5e44e13c35c0acc9bb11d65d0da5;hp=333b23072d1a4516456eb5018d46450571646699;hpb=51f8f0f50c1a709ed898d149f458f781279fa4c6;p=ghc-hetmet.git diff --git a/ghc/compiler/main/DriverFlags.hs b/ghc/compiler/main/DriverFlags.hs index 333b230..94db1a4 100644 --- a/ghc/compiler/main/DriverFlags.hs +++ b/ghc/compiler/main/DriverFlags.hs @@ -1,7 +1,7 @@ {-# OPTIONS -#include "hschooks.h" #-} ----------------------------------------------------------------------------- --- $Id: DriverFlags.hs,v 1.69 2001/09/06 15:43:35 simonpj Exp $ +-- $Id: DriverFlags.hs,v 1.71 2001/09/23 21:29:35 ken Exp $ -- -- Driver flags -- @@ -272,6 +272,9 @@ static_flags = , ( "fmax-simplifier-iterations", Prefix (writeIORef v_MaxSimplifierIterations . read) ) + , ( "frule-check", + SepArg (\s -> writeIORef v_RuleCheck (Just s)) ) + , ( "fusagesp" , NoArg (do writeIORef v_UsageSPInf True add v_Opt_C "-fusagesp-on") ) @@ -482,7 +485,7 @@ buildStaticHscOpts = do machdepCCOpts | prefixMatch "alpha" cTARGETPLATFORM - = return ( ["-static"], ["-w"] ) + = return ( ["-static", "-w"], [] ) -- For now, to suppress the gcc warning "call-clobbered -- register used for global register variable", we simply -- disable all warnings altogether using the -w flag. Oh well.