[MPlayer-dev-eng] [PATCH] clean and cross-compilation

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Tue Aug 24 18:31:44 CEST 2004


On Tuesday, 24 August 2004 at 18:02, Kenny (Constantine Shulyupin) wrote:
> Hi,
> 
> 1. Now clean makes what is really expected.
> 2. When compiling with crosscompiler, codec-cfg.c utility should be
> compiled with local compiler.

> --- ../MPlayer-1.0pre5.orig/Makefile	2004-07-09 20:32:17.000000000 +0300
> +++ ./Makefile	2004-08-24 18:42:37.000000000 +0300
> @@ -241,7 +241,8 @@
>  $(MENCODER_DEP): version.h
> 
>  $(PRG_CFG): version.h codec-cfg.c codec-cfg.h
> -	$(CC) $(CFLAGS) -g codec-cfg.c mp_msg.c -o $(PRG_CFG)
> -DCODECS2HTML $(EXTRA_LIB) $(I18NLIBS)
> +	@# use local compiler, not cross
> +	gcc $(CFLAGS) -g codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML
> $(EXTRA_LIB) $(I18NLIBS)
> 
>  install: $(ALL_PRG)
>  ifeq ($(VIDIX),yes)

This hunk is rejected, you cannot assume that local compiler is gcc.

R.

-- 
MPlayer RPMs maintainer: http://greysector.rangers.eu.org/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-dev-eng mailing list