Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/binutils

Buildroot aldot at uclibc.org 1 participant 1 message Sep 1, 2007

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2007-09-01 09:37:55 -0700 (Sat, 01 Sep 2007) New Revision: 19746

Log:
- precaution when looking at GCC_VERSION

Modified:
trunk/buildroot/toolchain/binutils/binutils.mk

Changeset:
Modified: trunk/buildroot/toolchain/binutils/binutils.mk
===================================================================

buildroot/toolchain/binutils/binutils.mk +2 -2
@@ -41,10 +41,10 @@
 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