Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/mpfr

Buildroot aldot at uclibc.org 1 participant 1 message Dec 14, 2006

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2006-12-14 07:37:12 -0800 (Thu, 14 Dec 2006) New Revision: 16926

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

Modified:
trunk/buildroot/package/mpfr/mpfr.mk

Changeset:
Modified: trunk/buildroot/package/mpfr/mpfr.mk
===================================================================

buildroot/package/mpfr/mpfr.mk +4 -1
@@ -34,12 +34,15 @@
 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) \