diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-14 15:37:12 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-14 15:37:12 +0000 |
commit | d4c12921dcd46e1b93ee74ecdd57126bdcd18249 (patch) | |
tree | da5003eae8ef1b67d98794f6d45d6e303167eee3 /package/mpfr | |
parent | 40bf460fab938d4101c9958a3d0396dc6c988474 (diff) | |
download | buildroot-novena-d4c12921dcd46e1b93ee74ecdd57126bdcd18249.tar.gz buildroot-novena-d4c12921dcd46e1b93ee74ecdd57126bdcd18249.zip |
- eventually let configure check our cross-compiler. nil the checks otherwise.
Diffstat (limited to 'package/mpfr')
-rw-r--r-- | package/mpfr/mpfr.mk | 5 |
1 files changed, 4 insertions, 1 deletions
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) \ |