[FFmpeg-devel] [PATCH] Allow optimization for pentium4 and core2 with icc
Diego Biurrun
diego
Sun May 11 19:42:21 CEST 2008
On Sun, May 11, 2008 at 03:25:07PM +0200, Carl Eugen Hoyos wrote:
>
> Attached patch allows to compile with icc when using --cpu=pentium4 or
> --cpu=core2. Both optimizations need (at least) linking against -lsvml
> which is done with this patch.
>
> Please comment, Carl Eugen
>
> --- configure (revision 13118)
> +++ configure (working copy)
> @@ -1827,6 +1827,8 @@
> # 11030: Warning unknown option --as-needed
> # 10156: ignoring option '-export'; no argument required
> check_ldflags -wd10156,11030
> + # Allow to compile with optimizations
> + check_ldflags -march=$cpu
> fi
Should be OK.
Diego
More information about the ffmpeg-devel
mailing list