/devel/gcc-4.4: gcc-4.4
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon May 25 17:26:21 2009 +0000 (2009-05-25)
branchgcc-4.4
changeset 138346658e3fc781
parent 1382 b3b1369752ba
child 1384 b23f3c2e0c73
/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(-)
scripts/build/companion_libs/gmp.sh
     1.1 --- a/scripts/build/companion_libs/gmp.sh	Mon May 25 17:22:54 2009 +0000
     1.2 +++ b/scripts/build/companion_libs/gmp.sh	Mon May 25 17:26:21 2009 +0000
     1.3 @@ -22,8 +22,6 @@
     1.4  }
     1.5  
     1.6  do_gmp() {
     1.7 -    local opts
     1.8 -    local cflags
     1.9  
    1.10      mkdir -p "${CT_BUILD_DIR}/build-gmp"
    1.11      cd "${CT_BUILD_DIR}/build-gmp"
    1.12 @@ -32,12 +30,7 @@
    1.13  
    1.14      CT_DoLog EXTRA "Configuring GMP"
    1.15  
    1.16 -    if [ "${CT_PPL_CLOOG}" = "y" ]; then
    1.17 -        opts="--enable-cxx"
    1.18 -        cflags="-fexceptions"
    1.19 -    fi
    1.20 -
    1.21 -    CFLAGS="${CT_CFLAGS_FOR_HOST} ${cflags}"        \
    1.22 +    CFLAGS="${CT_CFLAGS_FOR_HOST} -fexceptions"     \
    1.23      CT_DoExecLog ALL                                \
    1.24      "${CT_SRC_DIR}/gmp-${CT_GMP_VERSION}/configure" \
    1.25          --build=${CT_BUILD}                         \
    1.26 @@ -47,7 +40,7 @@
    1.27          --disable-static                            \
    1.28          --enable-fft                                \
    1.29          --enable-mpbsd                              \
    1.30 -        ${opts}
    1.31 +        --enable-cxx
    1.32  
    1.33      CT_DoLog EXTRA "Building GMP"
    1.34      CT_DoExecLog ALL make ${PARALLELMFLAGS}