From 9beb9650c7f3470b1080a610006490d82fd422b2 Mon Sep 17 00:00:00 2001 From: Domenico Iezzi Date: Thu, 12 Dec 2024 14:44:09 +0100 Subject: [PATCH] Add gmp, mpfr, mpc to all gcc configure commands --- Makefile.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile.in b/Makefile.in index 6aab88a..8c51dc2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -231,6 +231,12 @@ stamps/build-gcc-stage2: $(GCC_SRCDIR) stamps/build-newlib --disable-lib64 \ --prefix=$(INSTALL_DIR) \ $(CONFIGURE_HOST) \ + --with-gmp-include=$(INSTALL_DIR)/deps/include \ + --with-gmp-lib=$(INSTALL_DIR)/deps/lib \ + --with-mpc-include=$(INSTALL_DIR)/deps/include \ + --with-mpc-lib=$(INSTALL_DIR)/deps/lib \ + --with-mpfr-include=$(INSTALL_DIR)/deps/include \ + --with-mpfr-lib=$(INSTALL_DIR)/deps/lib \ --enable-languages=c,c++ \ --enable-libstdcxx-debug-flags='-gdwarf-3 -g -O0 -D_GLIBCXX_ASSERTIONS' \ --enable-c99 \ @@ -266,6 +272,12 @@ stamps/build-gcc-stage2-only: $(GCC_SRCDIR) --disable-lib64 \ --prefix=$(INSTALL_DIR) \ $(CONFIGURE_HOST) \ + --with-gmp-include=$(INSTALL_DIR)/deps/include \ + --with-gmp-lib=$(INSTALL_DIR)/deps/lib \ + --with-mpc-include=$(INSTALL_DIR)/deps/include \ + --with-mpc-lib=$(INSTALL_DIR)/deps/lib \ + --with-mpfr-include=$(INSTALL_DIR)/deps/include \ + --with-mpfr-lib=$(INSTALL_DIR)/deps/lib \ --enable-languages=c,c++ \ --enable-libstdcxx-debug-flags='-gdwarf-3 -g -O0 -D_GLIBCXX_ASSERTIONS' \ --enable-c99 \