소스 검색

- precaution when looking at GCC_VERSION

Bernhard Reutner-Fischer 18 년 전
부모
커밋
b4b3e3139a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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