Bug#433158: madwifi-source: fails to build on MIPS32 CPU

Kel Modderman kel at otaku42.de
Sun Jul 15 14:20:47 UTC 2007


Hi,

On Mon, 16 Jul 2007 12:14:37 am Aurelien Jarno wrote:
> Yes, I think it is a good idea. Please find below the same patch signed
> off.

Is it the same though? ;-)

In initial mail the patch also removed -EL / -EB from COPTS. The patch below 
only removes the -mips1 flag.

Thanks for signing-off on the small fix, and please do clarify which version 
is correct (i think your initial patch was correct, but want to be sure).

Thanks, Kel.

>
> Cheers,
> Aurelien
>
> Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
>
> --- madwifi-0.9.3.orig/hal/public/mips1-le-elf.inc
> +++ madwifi-0.9.3/hal/public/mips1-le-elf.inc
> @@ -68,5 +68,5 @@
>
>  LDOPTS=	-EL
>  COPTS+=	-DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
> -COPTS+=	-G 0 -EL -mno-abicalls -fno-pic -mips1 -Wa,--trap \
> +COPTS+=	-G 0 -EL -mno-abicalls -fno-pic -Wa,--trap \
>  	-fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
> --- madwifi-0.9.3.orig/hal/public/mips1-be-elf.inc
> +++ madwifi-0.9.3/hal/public/mips1-be-elf.inc
> @@ -68,5 +68,5 @@
>
>  LDOPTS=	-EB
>  COPTS+=	-DAH_BYTE_ORDER=AH_BIG_ENDIAN
> -COPTS+=	-G 0 -EB -mno-abicalls -fno-pic -mips1 -Wa,--trap \
> +COPTS+=	-G 0 -EB -mno-abicalls -fno-pic -Wa,--trap \
>  	-fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls






More information about the Pkg-madwifi-maintainers mailing list