summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-20 09:17:06 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-20 09:17:06 (GMT)
commit631ad148a2596859ab8ffddf4c66ef57e384adf0 (patch)
tree6a802fe34ccf1588243e0784ebb89a43389dbe53 /scripts
parent59eaaed971541fef17ac27b807431d1acf213502 (diff)
Only rebuild MPFR config files at extract time, not for every builds.
/trunk/scripts/build/mpfr.sh | 15 7 8 0 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/mpfr.sh15
1 files changed, 7 insertions, 8 deletions
diff --git a/scripts/build/mpfr.sh b/scripts/build/mpfr.sh
index c7c4765..f65b680 100644
--- a/scripts/build/mpfr.sh
+++ b/scripts/build/mpfr.sh
@@ -18,13 +18,6 @@ do_mpfr_get() {
# Extract MPFR
do_mpfr_extract() {
CT_ExtractAndPatch "${CT_MPFR_FILE}"
-}
-
-do_mpfr() {
- mkdir -p "${CT_BUILD_DIR}/build-mpfr"
- cd "${CT_BUILD_DIR}/build-mpfr"
-
- CT_DoStep INFO "Installing MPFR"
# OK, Gentoo have a sanity check that libtool.m4 and ltmain.sh have the
# same version number. Unfortunately, some tarballs of MPFR are not
@@ -33,11 +26,17 @@ do_mpfr() {
# and: http://sourceware.org/ml/crossgcc/2008-06/msg00005.html
# This hack is not bad per se, but the MPFR guys would be better to not
# do that in the future...
- CT_DoLog EXTRA "Re-building configuration files"
CT_Pushd "${CT_SRC_DIR}/${CT_MPFR_FILE}"
autoreconf -fi 2>&1 |CT_DoLog ALL
libtoolize 2>&1 |CT_DoLog ALL
CT_Popd
+}
+
+do_mpfr() {
+ mkdir -p "${CT_BUILD_DIR}/build-mpfr"
+ cd "${CT_BUILD_DIR}/build-mpfr"
+
+ CT_DoStep INFO "Installing MPFR"
CT_DoLog EXTRA "Configuring MPFR"
CFLAGS="${CT_CFLAGS_FOR_HOST}" \