Explorar o código

- precaution when looking at GCC_VERSION

Bernhard Reutner-Fischer %!s(int64=18) %!d(string=hai) anos
pai
achega
b4b3e3139a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      toolchain/binutils/binutils.mk

+ 2 - 2
toolchain/binutils/binutils.mk

@@ -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