[MPlayer-dev-eng] [PATCH] 'extern symbol prefix' check support on OS/2

Diego Biurrun diego at biurrun.de
Sun Jul 27 17:05:13 CEST 2008


On Sun, Jul 27, 2008 at 11:34:29PM +0900, KO Myung-Hun wrote:
> 
> On OS/2, 'nm' support aout format only. So we need to remove '-Zomf'
> compiler option, where '-Zomf' generate OMF format.
> 
> BTW, '-Zomf' option affect both to compilation and to linkage. So we
> need to append '-Zomf' to _ld_extra after 'extern symbol prefix' check.

Append yes, but putting some system-specific in the middle of configure
is ugly.  Move it to the OS/2 section at the end of configure.

> --- configure	(revision 27349)
> +++ configure   (working copy)
> @@ -7626,10 +7704,6 @@
> -if os2 ; then
> -  CFLAGS="$CFLAGS -Zomf"
> -  ASFLAGS="$ASFLAGS -Zomf"
> -fi

This is the only use of the ASFLAGS variable, so you should remove it
from config.mak as well.

Diego



More information about the MPlayer-dev-eng mailing list