- eventually let configure check our cross-compiler. nil the checks otherwise.

This commit is contained in:
Bernhard Reutner-Fischer 2006-12-14 15:37:12 +00:00
parent 40bf460fab
commit d4c12921dc
1 changed files with 4 additions and 1 deletions

View File

@ -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) \