[uClibc-cvs] svn commit: trunk/buildroot/toolchain/gcc
mjn3 at uclibc.org
mjn3 at uclibc.org
Sat Apr 30 22:59:06 UTC 2005
Author: mjn3
Date: 2005-04-30 16:59:05 -0600 (Sat, 30 Apr 2005)
New Revision: 10214
Log:
Fix soft float options for gcc 4.
Modified:
trunk/buildroot/toolchain/gcc/Makefile.in
Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in 2005-04-30 22:02:38 UTC (rev 10213)
+++ trunk/buildroot/toolchain/gcc/Makefile.in 2005-04-30 22:59:05 UTC (rev 10214)
@@ -21,6 +21,13 @@
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
More information about the uClibc-cvs
mailing list