Subject: Re: [PATCH] Add -msoft-float to BOOTCFLAGS

From: Segher Boessenkool <[email-masked]>
Date: Tue, 15 May 2007 06:46:11 +0200

>  HOSTCC		:= gcc
>  BOOTCFLAGS	:= $(HOSTCFLAGS) -fno-builtin -nostdinc -isystem \
> -		   $(shell $(CROSS32CC) -print-file-name=include) -fPIC
> +		   $(shell $(CROSS32CC) -print-file-name=include) -fPIC -msoft-float
>  BOOTAFLAGS	:= -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc

While you're at it, could you get rid of the HOSTCFLAGS
inclusion here?  The host compiler has absolutely nothing
to do with the 32-bit powerpc compiler.

There are some more flags you might want to add btw
(-nostdlib, -mno-multiple, stuff like that -- just examples,
don't blindly add these).

Segher