1.1 --- a/scripts/build/companion_libs/gmp.sh Sun Mar 20 01:04:22 2011 +0100
1.2 +++ b/scripts/build/companion_libs/gmp.sh Sun Jul 03 09:20:08 2011 +0200
1.3 @@ -21,8 +21,6 @@
1.4 }
1.5
1.6 do_gmp() {
1.7 - local -a gmp_opts
1.8 -
1.9 mkdir -p "${CT_BUILD_DIR}/build-gmp"
1.10 cd "${CT_BUILD_DIR}/build-gmp"
1.11
1.12 @@ -30,12 +28,6 @@
1.13
1.14 CT_DoLog EXTRA "Configuring GMP"
1.15
1.16 - if [ "${CT_COMPLIBS_SHARED}" = "y" ]; then
1.17 - gmp_opts+=( --enable-shared --disable-static )
1.18 - else
1.19 - gmp_opts+=( --disable-shared --enable-static )
1.20 - fi
1.21 -
1.22 CT_DoExecLog CFG \
1.23 CFLAGS="${CT_CFLAGS_FOR_HOST} -fexceptions" \
1.24 "${CT_SRC_DIR}/gmp-${CT_GMP_VERSION}/configure" \
1.25 @@ -45,7 +37,8 @@
1.26 --enable-fft \
1.27 --enable-mpbsd \
1.28 --enable-cxx \
1.29 - "${gmp_opts[@]}"
1.30 + --disable-shared \
1.31 + --enable-static
1.32
1.33 CT_DoLog EXTRA "Building GMP"
1.34 CT_DoExecLog ALL make ${JOBSFLAGS}