[MPlayer-dev-eng] [PATCH] Check for -mno-omit-leaf-frame-pointer
Diego Biurrun
diego at biurrun.de
Sat Feb 23 18:15:30 CET 2008
On Fri, Feb 22, 2008 at 09:28:50AM +0100, Carl Eugen Hoyos wrote:
>
> icc fails if called with -mno-omit-leaf-frame-pointer. Attached patch
> checks if it works.
>
> --- configure (Revision 26059)
> +++ configure (Arbeitskopie)
> @@ -7592,6 +7592,7 @@
> cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
> fi
>
> +cc_check -mno-omit-leaf-frame-pointer && MNOOMIT="-mno-omit-leaf-frame-pointer"
>
> #this must be the last test to be performed or the ones following it will likely fail
> #because libdvdnavmini is intentionally not linked against libdvdread (to permit mplayer
> @@ -7650,6 +7651,7 @@
> EXTRA_INC = $_inc_extra
> EXTRAXX_INC = $_inc_extra $_inc_extraxx
> OPTFLAGS = $CFLAGS \$(EXTRA_INC)
> +MNOOMIT = $MNOOMIT
> CXXFLAGS = $CXXFLAGS \$(EXTRAXX_INC)
> CFLAG_STACKREALIGN = $_stackrealign
> INSTALLSTRIP = $_install_strip
I'm fine with the patch, but please use a different name for the
variable, for example CFLAG_NO_OMIT_LEAF_FRAME_POINTER.
Diego
More information about the MPlayer-dev-eng
mailing list