mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-23 02:13:38 +00:00
Do not try to download, extract, or build GMP and MPFR if not asked for.
/trunk/scripts/build/gmp.sh | 12 11 1 0 +++++++++++- /trunk/scripts/build/mpfr.sh | 11 11 0 0 +++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-)
This commit is contained in:
parent
396e68116c
commit
886c3e7c8b
@ -2,8 +2,9 @@
|
||||
# Copyright 2008 Yann E. MORIN
|
||||
# Licensed under the GPL v2. See COPYING in the root of this package
|
||||
|
||||
if [ "${CT_CC_GCC_GMP_MPFR}" = "y" ]; then
|
||||
|
||||
do_print_filename() {
|
||||
[ "${CT_CC_GCC_GMP_MPFR}" = "y" ] || return 0
|
||||
echo "gmp-${CT_GMP_VERSION}"
|
||||
}
|
||||
|
||||
@ -47,3 +48,12 @@ do_gmp() {
|
||||
|
||||
CT_EndStep
|
||||
}
|
||||
|
||||
else # Mo GMP
|
||||
|
||||
do_print_filename() { :; }
|
||||
do_gmp_get() { :; }
|
||||
do_gmp_extract() { :; }
|
||||
do_gmp() { :; }
|
||||
|
||||
fi
|
||||
|
@ -2,6 +2,8 @@
|
||||
# Copyright 2008 Yann E. MORIN
|
||||
# Licensed under the GPL v2. See COPYING in the root of this package
|
||||
|
||||
if [ "${CT_CC_GCC_GMP_MPFR}" = "y" ]; then
|
||||
|
||||
do_print_filename() {
|
||||
[ "${CT_CC_GCC_GMP_MPFR}" = "y" ] || return 0
|
||||
echo "mpfr-${CT_MPFR_VERSION}"
|
||||
@ -45,3 +47,12 @@ do_mpfr() {
|
||||
|
||||
CT_EndStep
|
||||
}
|
||||
|
||||
else # No MPFR
|
||||
|
||||
do_print_filename() { :; }
|
||||
do_mpfr_get() { :; }
|
||||
do_mpfr_extract() { :; }
|
||||
do_mpfr() { :; }
|
||||
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user