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

Måns Rullgård mans
Sat Jul 17 01:44:30 CEST 2010


Paul Sterne <make4ppc at gmail.com> writes:

> I want to patch configure to allow --as to override gas-preprocessor.pl for
> 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



More information about the ffmpeg-devel mailing list