From 38af0c23f0f4f0218317c1749b29f68ba14c3281 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Mon, 10 Sep 2018 16:53:37 -0700 Subject: [PATCH] LattE build: Add -DNTL_STD_CXX (temporary fix from sage #18887) --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 87e7a98..635e527 100644 --- a/Makefile.am +++ b/Makefile.am @@ -274,7 +274,7 @@ $(LATTE_DIR)/.unpacked_latte: $(LATTE_TARGZ) done && touch $@ endif $(LATTE_DIR)/config.status: $(LATTE_DIR)/.unpacked_latte $(GMP_DIR)/.built_gmp $(CDDLIB_DIR)/.built_cddlib $(BUILT_LIDIA) $(NTL_DIR)/.built_ntl $(BUILT_4TI2) - ( cd $(LATTE_DIR) && ./configure --with-default="$(INSTALL_DIR)" --prefix="$(INSTALL_DIR)" --enable-relocatable --disable-shared $(LATTE_SUB_CONFIGURE_ARGS)) + ( cd $(LATTE_DIR) && ./configure --with-default="$(INSTALL_DIR)" --prefix="$(INSTALL_DIR)" --enable-relocatable --disable-shared $(LATTE_SUB_CONFIGURE_ARGS) CXXFLAGS="$(CXXFLAGS) -DNTL_STD_CXX") ##$(CDDPLUS_DIR)/.built_cddplus # no longer needed .built_latte: $(LATTE_DIR)/config.status $(GMP_DIR)/.built_gmp $(CDDLIB_DIR)/.built_cddlib $(BUILT_LIDIA) $(NTL_DIR)/.built_ntl $(BUILT_4TI2) ( cd $(LATTE_DIR) && $(MAKE) && $(MAKE) install ) && touch $@