scripts/build/companion_libs/gmp.sh
branchgcc-4.4
changeset 1375 4c75f7eb5198
parent 1324 48c12c696778
child 1378 ad34196543eb
     1.1 --- a/scripts/build/companion_libs/gmp.sh	Tue May 05 22:04:20 2009 +0000
     1.2 +++ b/scripts/build/companion_libs/gmp.sh	Sun May 24 21:46:30 2009 +0000
     1.3 @@ -34,7 +34,7 @@
     1.4  
     1.5      if [ "${CT_PPL_CLOOG}" = "y" ]; then
     1.6          opts="--enable-cxx"
     1.7 -        cflags="-fexceptions"
     1.8 +        cflags="-fexceptions -fPIC"
     1.9      fi
    1.10  
    1.11      CFLAGS="${CT_CFLAGS_FOR_HOST} ${cflags}"        \
    1.12 @@ -43,8 +43,8 @@
    1.13          --build=${CT_BUILD}                         \
    1.14          --host=${CT_HOST}                           \
    1.15          --prefix="${CT_PREFIX_DIR}"                 \
    1.16 -        --disable-shared                            \
    1.17 -        --enable-static                             \
    1.18 +        --enable-shared                             \
    1.19 +        --disable-static                            \
    1.20          --enable-fft                                \
    1.21          --enable-mpbsd                              \
    1.22          ${opts}