summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-01 16:37:55 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-01 16:37:55 +0000
commitb4b3e3139aad6343308a301de90ccabf2bc32307 (patch)
treea79d87828010aa844988cdb37a4cebd542a5a724
parent4a7cebaeb529fe45dacc81df4e67b06bd38682ae (diff)
- precaution when looking at GCC_VERSION
-rw-r--r--toolchain/binutils/binutils.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk
index 2910ff6c8..1e8efca54 100644
--- a/toolchain/binutils/binutils.mk
+++ b/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