From 19818694fe6fa3412a6636a3ed783e0d6832d6e6 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 9 Feb 2007 13:05:43 +0000 Subject: - fix crosscompiler prerequisites --- toolchain/binutils/binutils.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'toolchain/binutils') diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk index e75e4c9db..73e70180d 100644 --- a/toolchain/binutils/binutils.mk +++ b/toolchain/binutils/binutils.mk @@ -40,8 +40,15 @@ endif # We do not rely on the host's gmp/mpfr but use a known working one BINUTILS_HOST_PREREQ:= BINUTILS_TARGET_PREREQ:= -ifndef BINUTILS_NO_MPFR +ifeq ($(findstring 3.,$(GCC_VERSION)),3.) +BINUTILS_NO_MPFR:=y +endif +ifeq ($(findstring 4.0,$(GCC_VERSION)),4.0) +BINUTILS_NO_MPFR:=y +endif + +ifndef BINUTILS_NO_MPFR BINUTILS_HOST_PREREQ:=$(TOOL_BUILD_DIR)/gmp/lib/libgmp.so \ $(TOOL_BUILD_DIR)/mpfr/lib/libmpfr.so -- cgit v1.2.3