From 51b8148162a9b02837a83202b740612e702494d4 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sat, 30 Apr 2005 22:59:05 +0000 Subject: Fix soft float options for gcc 4. --- toolchain/gcc/Makefile.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'toolchain/gcc') diff --git a/toolchain/gcc/Makefile.in b/toolchain/gcc/Makefile.in index c89eb4227..908a45276 100644 --- a/toolchain/gcc/Makefile.in +++ b/toolchain/gcc/Makefile.in @@ -21,6 +21,13 @@ SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft else SOFT_FLOAT_CONFIG_OPTION:=--without-float endif +# again... there must be a better way +ifeq ($(findstring 4.0.,$(GCC_VERSION)),4.0.) +SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft +endif +ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.) +SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft +endif TARGET_SOFT_FLOAT:=-msoft-float ARCH_FPU_SUFFIX:=_nofpu else -- cgit v1.2.3