From 40d6414f28d4698ff6245f9d07bedfe799953d50 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 21 Jun 2018 08:08:21 -0400 Subject: [PATCH] add distinct build target definitions for gmp, mpfr, and mpc. Generated from within gcc, the above dependency libraries are built with the --disable-shared libtool option. As with binutils, distinct build steps for each of the above in litecross/Makefile allow for their correct (static only) generation by an alternate libtool utility, such as slibtool. --- litecross/Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/litecross/Makefile b/litecross/Makefile index 881233d..b96bb1e 100644 --- a/litecross/Makefile +++ b/litecross/Makefile @@ -214,7 +214,19 @@ obj_gcc/.lc_configured: | obj_gcc src_gcc cd obj_gcc && ../src_gcc/configure $(FULL_GCC_CONFIG) touch $@ -obj_gcc/gcc/.lc_built: | obj_gcc/.lc_configured +obj_gcc/.lc_gmp_built: | obj_gcc/.lc_configured + cd obj_gcc && $(MAKE) MAKE="$(MAKE) $(LIBTOOL_STATIC_ARG)" all-gmp + touch $@ + +obj_gcc/.lc_mpfr_built: | obj_gcc/.lc_gmp_built + cd obj_gcc && $(MAKE) MAKE="$(MAKE) $(LIBTOOL_STATIC_ARG)" all-mpfr + touch $@ + +obj_gcc/.lc_mpc_built: | obj_gcc/.lc_mpfr_built + cd obj_gcc && $(MAKE) MAKE="$(MAKE) $(LIBTOOL_STATIC_ARG)" all-mpc + touch $@ + +obj_gcc/gcc/.lc_built: | obj_gcc/.lc_mpc_built cd obj_gcc && $(MAKE) MAKE="$(MAKE) $(LIBTOOL_ARG)" all-gcc touch $@