[project @ 1998-03-16 20:19:20 by sof]
authorsof <unknown>
Mon, 16 Mar 1998 20:19:20 +0000 (20:19 +0000)
committersof <unknown>
Mon, 16 Mar 1998 20:19:20 +0000 (20:19 +0000)
Added -optp for passing options to hsp

ghc/driver/ghc.lprl

index d01f71f..d45062b 100644 (file)
@@ -2834,6 +2834,7 @@ arg: while($_ = $Args[0]) {
     /^-optP(.*)$/   && do { push(@HsCpp_flags,      $1); next arg; };
     /^-optCrts(.*)$/&& do { push(@HsC_rts_flags,    $1); next arg; };
     /^-optC(.*)$/   && do { push(@HsC_flags,        $1); next arg; };
+    /^-optp(.*)$/   && do { push(@HsP_flags,        $1); next arg; };
     /^-optcpp(.*)$/ && do { push(@Cpp_define,       $1); $Only_preprocess_hc = ($1 eq "-E"); next arg; };
     /^-optc(.*)$/   && do { push(@CcBoth_flags,     $1); next arg; };
     /^-opta(.*)$/   && do { push(@As_flags,         $1); next arg; };