[FFmpeg-devel] [PATCH] Enable building 64bit FFmpeg on MacOSX

Diego Biurrun diego
Mon Mar 17 10:25:59 CET 2008


On Sat, Mar 15, 2008 at 05:03:22PM +0200, ?smail D?nmez wrote:
> 
> MacOSX have a multilib configuration with defaulting to 32bit so
> FFmpeg's configure check for 64bitness fails even with -m64 as you can
> see :
> 
> [~]> gcc -m64 -dumpmachine
> i686-apple-darwin9

I fail to see the "failure" here.  What is the problem?

> To workaround this attached patch checks if CFLAGS contains -m64 and
> then sets 64bit flags. This is similar to already existing -m32 check
> in configure.

I'd rather have you find a proper solution, this is quite ugly...

> --- configure	(revision 12443)
> +++ configure	(working copy)
> @@ -1089,6 +1089,9 @@
> +        elif [ -n "`echo $CFLAGS | grep -- -m64`"  ]; then

grep -q

Diego




More information about the ffmpeg-devel mailing list