From d4c12921dcd46e1b93ee74ecdd57126bdcd18249 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 14 Dec 2006 15:37:12 +0000 Subject: - eventually let configure check our cross-compiler. nil the checks otherwise. --- package/mpfr/mpfr.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk index 15322d8e1..12614d860 100644 --- a/package/mpfr/mpfr.mk +++ b/package/mpfr/mpfr.mk @@ -34,12 +34,15 @@ ifneq ($(MPFR_PATCH),) endif touch $(MPFR_DIR)/.unpacked +ifeq ($(BR2_INSTALL_LIBSTDCPP),) +MPFR_CXX:=CXX="" +endif $(MPFR_DIR)/.configured: $(MPFR_DIR)/.unpacked $(STAGING_DIR)/lib/$(GMP_BINARY) (cd $(MPFR_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ ac_cv_c_bigendian=$(MPFR_BE) \ - CXX="" \ + $(MPFR_CXX) \ ./configure \ --host=$(REAL_GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ -- cgit v1.2.3