[FFmpeg-devel] Patch to configure to allow --as to override of gas-preprocessor.pl for darwin platform

Paul Sterne make4ppc
Sat Jul 17 03:49:15 CEST 2010


Could the value of --as be saved before it is set to a default?
Then if --as was specified on the configure command line "
gas-preprocessor.pl" wouldn't replace it.


2010/7/16 M?ns Rullg?rd <mans at mansr.com>

> Paul Sterne <make4ppc at gmail.com> writes:
>
> > I want to patch configure to allow --as to override gas-preprocessor.plfor
> > darwin platform.  This will simplify testing of new versions of
> > gas-preprocessor.pl and also allow ffmpeg to be built with the
> > gas-preprocessor.pl feature turned off.
> >
> > Index: configure
> > ===================================================================
> > --- configure (revision 24277)
> > +++ configure (working copy)
> > @@ -2226,7 +2226,7 @@
> >          ;;
> >      darwin)
> >          enable malloc_aligned
> > -        gas="gas-preprocessor.pl $cc"
> > +        gas=${as:-"gas-preprocessor.pl $cc"}
>
> This doesn't work since $as will always be set there.  Overriding it
> can of course be useful, so I'll try to think of something that works.
>
> --
> M?ns Rullg?rd
> mans at mansr.com
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow_as_override_gas.patch
Type: application/octet-stream
Size: 789 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100716/039bf721/attachment.obj>



More information about the ffmpeg-devel mailing list