- precaution when looking at GCC_VERSION
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 1 Sep 2007 16:37:55 +0000 (16:37 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 1 Sep 2007 16:37:55 +0000 (16:37 -0000)
toolchain/binutils/binutils.mk

index 2910ff6c898b1305be9b38aceabb4bad78aa8657..1e8efca5405fd5080dbfab4b12a11efd5cdbd934 100644 (file)
@@ -41,10 +41,10 @@ endif
 BINUTILS_HOST_PREREQ:=
 BINUTILS_TARGET_PREREQ:=
 
-ifeq ($(findstring 3.,$(GCC_VERSION)),3.)
+ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)
 BINUTILS_NO_MPFR:=y
 endif
-ifeq ($(findstring 4.0,$(GCC_VERSION)),4.0)
+ifeq ($(findstring x4.0,x$(GCC_VERSION)),x4.0)
 BINUTILS_NO_MPFR:=y
 endif