1.1 --- a/scripts/build/companion_libs/mpc.sh Sun Mar 20 01:07:31 2011 +0100
1.2 +++ b/scripts/build/companion_libs/mpc.sh Sun Jul 17 18:01:28 2011 +0200
1.3 @@ -22,8 +22,6 @@
1.4 }
1.5
1.6 do_mpc() {
1.7 - local -a mpc_opts
1.8 -
1.9 mkdir -p "${CT_BUILD_DIR}/build-mpc"
1.10 cd "${CT_BUILD_DIR}/build-mpc"
1.11
1.12 @@ -31,12 +29,6 @@
1.13
1.14 CT_DoLog EXTRA "Configuring MPC"
1.15
1.16 - if [ "${CT_COMPLIBS_SHARED}" = "y" ]; then
1.17 - mpc_opts+=( --enable-shared --disable-static )
1.18 - else
1.19 - mpc_opts+=( --disable-shared --enable-static )
1.20 - fi
1.21 -
1.22 CT_DoExecLog CFG \
1.23 CFLAGS="${CT_CFLAGS_FOR_HOST}" \
1.24 "${CT_SRC_DIR}/mpc-${CT_MPC_VERSION}/configure" \
1.25 @@ -45,7 +37,8 @@
1.26 --prefix="${CT_COMPLIBS_DIR}" \
1.27 --with-gmp="${CT_COMPLIBS_DIR}" \
1.28 --with-mpfr="${CT_COMPLIBS_DIR}" \
1.29 - "${mpc_opts[@]}"
1.30 + --disable-shared \
1.31 + --enable-static
1.32
1.33 CT_DoLog EXTRA "Building MPC"
1.34 CT_DoExecLog ALL make ${JOBSFLAGS}