Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain: binutils gcc

Buildroot aldot at uclibc.org 1 participant 1 message Feb 9, 2007

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2007-02-09 05:05:43 -0800 (Fri, 09 Feb 2007) New Revision: 17832

Log:
- fix crosscompiler prerequisites

Modified:
trunk/buildroot/toolchain/binutils/binutils.mk trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk

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

buildroot/toolchain/binutils/binutils.mk +8 -1
@@ -40,8 +40,15 @@
 # We do not rely on the host's gmp/mpfr but use a known working one
 BINUTILS_HOST_PREREQ:=
 BINUTILS_TARGET_PREREQ:=
+
+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
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================

buildroot/toolchain/gcc/gcc-uclibc-3.x.mk +1 -1
@@ -72,7 +72,7 @@
 GCC_TARGET_PREREQ =
 GCC_STAGING_PREREQ= $(STAGING_DIR)/lib/libc.a
 
-ifndef $(GCC_NO_MPFR)
+ifndef GCC_NO_MPFR
 GCC_WITH_HOST_GMP=--with-gmp=$(GMP_HOST_DIR)
 GCC_WITH_HOST_MPFR=--with-mpfr=$(MPFR_HOST_DIR)