From 7aa2e0c3d5b9f13fc1398e733090a3b4e6a95226 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 6 Dec 2010 16:40:10 -0300 Subject: mpc: make it a proper package * Convert mpc to a proper autotargets package * Hook it up for binutils/gcc to use Signed-off-by: Gustavo Zacarias Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- toolchain/gcc/gcc-uclibc-4.x.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'toolchain/gcc') diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index f454be84a..9e7127dc1 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -111,8 +111,8 @@ GCC_WITH_HOST_MPFR = --with-mpfr=$(HOST_DIR)/usr HOST_SOURCE += host-gmp-source host-mpfr-source ifeq ($(findstring x4.5.,x$(GCC_VERSION)),x4.5.) -GCC_WITH_HOST_MPC=--with-mpc=$(MPC_HOST_DIR) -HOST_SOURCE += host-libmpc-source +GCC_WITH_HOST_MPC = --with-mpc=$(HOST_DIR)/usr +HOST_SOURCE += host-mpc-source endif ifeq ($(BR2_INSTALL_FORTRAN),y) @@ -122,7 +122,7 @@ GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),fortran GCC_WITH_TARGET_GMP = --with-gmp=$(STAGING_DIR)/usr GCC_WITH_TARGET_MPFR = --with-mpfr=$(STAGING_DIR)/usr ifeq ($(findstring x4.5.,x$(GCC_VERSION)),x4.5.) -GCC_WITH_TARGET_MPC=--with-mpc="$(MPC_TARGET_DIR)" +GCC_WITH_TARGET_MPC = --with-mpc=$(STAGING_DIR)/usr endif endif -- cgit v1.2.3-55-g7522