From: sof Date: Mon, 16 Mar 1998 20:19:20 +0000 (+0000) Subject: [project @ 1998-03-16 20:19:20 by sof] X-Git-Tag: Approx_2487_patches~857 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=398284dc1582b2f5df9aa8bbd786f3db67d4f4a3;p=ghc-hetmet.git [project @ 1998-03-16 20:19:20 by sof] Added -optp for passing options to hsp --- diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index d01f71f..d45062b 100644 --- a/ghc/driver/ghc.lprl +++ b/ghc/driver/ghc.lprl @@ -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; };