This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][ping][Ada] ada/38874 gnatmake --param


Ping.

Thanks in advance,

Laurent

On Tue, 2009-02-17 at 20:23 +0100, Laurent GUERBY wrote:
> On Thu, 2009-02-05 at 20:56 +0100, Laurent GUERBY wrote:
> > 2009-02-05  Laurent GUERBY  <laurent@guerby.net>
> > 
> >         PR ada/38874
> >         make.adb: Pass --param= to compiler and linker.
> > 
> > Index: make.adb
> > ===================================================================
> > --- make.adb    (revision 143854)
> > +++ make.adb    (working copy)
> > @@ -8039,6 +8039,7 @@
> >               or else Argv (2 .. Argv'Last) = "pg"
> >               or else (Argv (2) = 'm' and then Argv'Last > 2)
> >               or else (Argv (2) = 'f' and then Argv'Last > 2)
> > +             or else (Argv'Last >= 8 and then Argv (2 .. 8) ==
> > "-param=")
> >           then
> >              Add_Switch (Argv, Compiler, And_Save => And_Save);
> >              Add_Switch (Argv, Linker, And_Save => And_Save);
> 
> Sent the wrong patch for review (see PR :). Here is the correct one
> below, tested on mipsel-linux.
> 
> Ok to commit?
> 
> Laurent
> 
> 2009-02-05  Laurent GUERBY  <laurent@guerby.net>
> 
>         PR ada/38874
>         make.adb: Pass --param= to compiler and linker.
> 
> Index: make.adb
> ===================================================================
> --- make.adb    (revision 143854)
> +++ make.adb    (working copy)
> @@ -8039,6 +8039,7 @@
>               or else Argv (2 .. Argv'Last) = "pg"
>               or else (Argv (2) = 'm' and then Argv'Last > 2)
>               or else (Argv (2) = 'f' and then Argv'Last > 2)
> +             or else (Argv'Last >= 8 and then Argv (2 .. 8) = "-param=")
>           then
>              Add_Switch (Argv, Compiler, And_Save => And_Save);
>              Add_Switch (Argv, Linker, And_Save => And_Save);
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]