[FFmpeg-devel] [PATCH] Building ffmpeg for OpenSolaris/SPARC using GCCFSS 4.2.1
Diego Biurrun
diego
Mon Jan 5 22:51:11 CET 2009
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...
Diego
More information about the ffmpeg-devel
mailing list