[FFmpeg-devel] [PATCH] Building ffmpeg for OpenSolaris/SPARC using GCCFSS 4.2.1

Måns Rullgård mans
Mon Jan 5 23:33:02 CET 2009


Diego Biurrun <diego at biurrun.de> writes:

> On Mon, Jan 05, 2009 at 09:45:04PM +0000, M?ns Rullg?rd wrote:
>> Palle Lyckegaard <palle at lyckegaard.dk> writes:
>> 
>> > The attached patch makes it possible to build ffmpeg svn revision
>> > 16404 on an OpenSolaris/SPARC based system using GCC 4.2.1 for Sun
>> > Systems (http://cooltools.sunsource.net/gcc).
>> >
>> > Futhermore the __EXTENSIONS__ define is activated only if building on
>> > SunOS/Solaris/OpenSolaris.
>> >
>> > --- configure	(revision 16404)
>> > +++ configure	(working copy)
>> > @@ -1106,6 +1106,7 @@
>> >  nm_default="nm"
>> >  ranlib="ranlib"
>> >  strip="strip"
>> > +install="install"
>> >  ln_s="ln -sf"
>> >  objformat="elf"
>> 
>> If we go this route, the value should be settable from the command
>> line, and should use the _default mechanism the same way as $cc.
>> 
>> > @@ -1401,6 +1402,8 @@
>> >          FFSERVERLDFLAGS=""
>> >          SHFLAGS='-shared -Wl,-h,$$(@F)'
>> >          network_extralibs="-lsocket -lnsl"
>> > +        add_cflags "-D__EXTENSIONS__"
>> 
>> This line OK without the unnecessary quotes.
>
> This hunk applied.
>
> Mans, note that we have similar quotes in tons of other places...

Feel free to remove them.  They are not needed.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list