summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-05-25 17:26:21 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-05-25 17:26:21 (GMT)
commit843a16f70c09d9ae1ec5db5282608da39897242e (patch)
treea49627454745006e39e4cdc7ca01cececaf5227a /scripts
parent17b97a21ba072460b393fe32ed672ff85aa7444b (diff)
/devel/gcc-4.4:
- GMP: unconditionnaly build the C++ wrappers and use exceptions -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 11 2 9 0 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/companion_libs/gmp.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/scripts/build/companion_libs/gmp.sh b/scripts/build/companion_libs/gmp.sh
index d5ffedc..d89ebb5 100644
--- a/scripts/build/companion_libs/gmp.sh
+++ b/scripts/build/companion_libs/gmp.sh
@@ -22,8 +22,6 @@ do_gmp_extract() {
}
do_gmp() {
- local opts
- local cflags
mkdir -p "${CT_BUILD_DIR}/build-gmp"
cd "${CT_BUILD_DIR}/build-gmp"
@@ -32,12 +30,7 @@ do_gmp() {
CT_DoLog EXTRA "Configuring GMP"
- if [ "${CT_PPL_CLOOG}" = "y" ]; then
- opts="--enable-cxx"
- cflags="-fexceptions"
- fi
-
- CFLAGS="${CT_CFLAGS_FOR_HOST} ${cflags}" \
+ CFLAGS="${CT_CFLAGS_FOR_HOST} -fexceptions" \
CT_DoExecLog ALL \
"${CT_SRC_DIR}/gmp-${CT_GMP_VERSION}/configure" \
--build=${CT_BUILD} \
@@ -47,7 +40,7 @@ do_gmp() {
--disable-static \
--enable-fft \
--enable-mpbsd \
- ${opts}
+ --enable-cxx
CT_DoLog EXTRA "Building GMP"
CT_DoExecLog ALL make ${PARALLELMFLAGS}