- eventually let configure check our cross-compiler. nil the checks otherwise.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 14 Dec 2006 15:37:12 +0000 (15:37 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 14 Dec 2006 15:37:12 +0000 (15:37 -0000)
package/mpfr/mpfr.mk

index 15322d8e1d6f7368e1a6523dc516e06f30558ffd..12614d8600fec1c1b157a92f0b544228f7c21e81 100644 (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) \