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.
This commit is contained in:
midipix 2018-06-21 08:08:21 -04:00 committed by Rich Felker
parent 58da30d441
commit 40d6414f28
1 changed files with 13 additions and 1 deletions

View File

@ -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 $@