|
@@ -9,6 +9,7 @@ MPFR_SOURCE:=mpfr-$(MPFR_VERSION).tar.bz2
|
|
MPFR_CAT:=$(BZCAT)
|
|
MPFR_CAT:=$(BZCAT)
|
|
MPFR_SITE:=http://www.mpfr.org/mpfr-current/
|
|
MPFR_SITE:=http://www.mpfr.org/mpfr-current/
|
|
MPFR_DIR:=$(TOOL_BUILD_DIR)/mpfr-$(MPFR_VERSION)
|
|
MPFR_DIR:=$(TOOL_BUILD_DIR)/mpfr-$(MPFR_VERSION)
|
|
|
|
+MPFR_TARGET_DIR:=$(BUILD_DIR)/mpfr-$(MPFR_VERSION)
|
|
MPFR_BINARY:=libmpfr.a
|
|
MPFR_BINARY:=libmpfr.a
|
|
MPFR_LIBVERSION:=1.0.1
|
|
MPFR_LIBVERSION:=1.0.1
|
|
|
|
|
|
@@ -34,13 +35,12 @@ ifneq ($(MPFR_PATCH),)
|
|
endif
|
|
endif
|
|
touch $(MPFR_DIR)/.unpacked
|
|
touch $(MPFR_DIR)/.unpacked
|
|
|
|
|
|
-MPFR_TARGET_DIR:=$(BUILD_DIR)/mpfr-$(MPFR_VERSION)
|
|
|
|
$(MPFR_TARGET_DIR)/.configured: $(MPFR_DIR)/.unpacked $(STAGING_DIR)/lib/$(GMP_BINARY)
|
|
$(MPFR_TARGET_DIR)/.configured: $(MPFR_DIR)/.unpacked $(STAGING_DIR)/lib/$(GMP_BINARY)
|
|
(cd $(MPFR_TARGET_DIR); rm -rf config.cache; \
|
|
(cd $(MPFR_TARGET_DIR); rm -rf config.cache; \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
ac_cv_c_bigendian=$(MPFR_BE) \
|
|
ac_cv_c_bigendian=$(MPFR_BE) \
|
|
- ./configure \
|
|
|
|
|
|
+ $(MPFR_DIR)/configure \
|
|
--target=$(GNU_TARGET_NAME) \
|
|
--target=$(GNU_TARGET_NAME) \
|
|
--host=$(GNU_TARGET_NAME) \
|
|
--host=$(GNU_TARGET_NAME) \
|
|
--build=$(GNU_HOST_NAME) \
|
|
--build=$(GNU_HOST_NAME) \
|