summaryrefslogtreecommitdiff
path: root/package/mpfr/mpfr.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-16 19:48:46 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-16 19:48:46 +0000
commita4427ac6c0d88aee9094b71e094964a83825204e (patch)
tree4da242001709340f2872d62b5720c38b24381f42 /package/mpfr/mpfr.mk
parent6be03bae3c0413c33e4fddd5f7c739e2083122fe (diff)
- use the correct path to configure
Diffstat (limited to 'package/mpfr/mpfr.mk')
-rw-r--r--package/mpfr/mpfr.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk
index b49233d23..e3b6e4188 100644
--- a/package/mpfr/mpfr.mk
+++ b/package/mpfr/mpfr.mk
@@ -9,6 +9,7 @@ MPFR_SOURCE:=mpfr-$(MPFR_VERSION).tar.bz2
MPFR_CAT:=$(BZCAT)
MPFR_SITE:=http://www.mpfr.org/mpfr-current/
MPFR_DIR:=$(TOOL_BUILD_DIR)/mpfr-$(MPFR_VERSION)
+MPFR_TARGET_DIR:=$(BUILD_DIR)/mpfr-$(MPFR_VERSION)
MPFR_BINARY:=libmpfr.a
MPFR_LIBVERSION:=1.0.1
@@ -34,13 +35,12 @@ ifneq ($(MPFR_PATCH),)
endif
touch $(MPFR_DIR)/.unpacked
-MPFR_TARGET_DIR:=$(BUILD_DIR)/mpfr-$(MPFR_VERSION)
$(MPFR_TARGET_DIR)/.configured: $(MPFR_DIR)/.unpacked $(STAGING_DIR)/lib/$(GMP_BINARY)
(cd $(MPFR_TARGET_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
ac_cv_c_bigendian=$(MPFR_BE) \
- ./configure \
+ $(MPFR_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \