1.1 --- a/scripts/build/companion_libs/mpfr.sh Sun Mar 20 01:05:15 2011 +0100
1.2 +++ b/scripts/build/companion_libs/mpfr.sh Sun Jul 03 09:20:08 2011 +0200
1.3 @@ -64,8 +64,6 @@
1.4 }
1.5
1.6 do_mpfr() {
1.7 - local -a mpfr_opts
1.8 -
1.9 mkdir -p "${CT_BUILD_DIR}/build-mpfr"
1.10 cd "${CT_BUILD_DIR}/build-mpfr"
1.11
1.12 @@ -79,11 +77,6 @@
1.13 *) mpfr_opts+=( --enable-thread-safe );;
1.14 esac
1.15
1.16 - if [ "${CT_COMPLIBS_SHARED}" = "y" ]; then
1.17 - mpfr_opts+=( --enable-shared --disable-static )
1.18 - else
1.19 - mpfr_opts+=( --disable-shared --enable-static )
1.20 - fi
1.21
1.22 CT_DoLog EXTRA "Configuring MPFR"
1.23 CT_DoExecLog CFG \
1.24 @@ -94,7 +87,8 @@
1.25 --host=${CT_HOST} \
1.26 --prefix="${CT_COMPLIBS_DIR}" \
1.27 --with-gmp="${CT_COMPLIBS_DIR}" \
1.28 - "${mpfr_opts[@]}"
1.29 + --disable-shared \
1.30 + --enable-static
1.31
1.32 CT_DoLog EXTRA "Building MPFR"
1.33 CT_DoExecLog ALL make ${JOBSFLAGS}