# HG changeset patch # User "Yann E. MORIN" # Date 1243201590 0 # Node ID 4c75f7eb51983992c5ca230e7f55217af7c590d9 # Parent f7f01af63a023adcf28b421834673c071d5c82ca /devel/gcc-4.4: - build a shared gmp, don't build a static gmp -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -r f7f01af63a02 -r 4c75f7eb5198 scripts/build/companion_libs/gmp.sh --- a/scripts/build/companion_libs/gmp.sh Sun May 24 21:44:21 2009 +0000 +++ b/scripts/build/companion_libs/gmp.sh Sun May 24 21:46:30 2009 +0000 @@ -34,7 +34,7 @@ if [ "${CT_PPL_CLOOG}" = "y" ]; then opts="--enable-cxx" - cflags="-fexceptions" + cflags="-fexceptions -fPIC" fi CFLAGS="${CT_CFLAGS_FOR_HOST} ${cflags}" \ @@ -43,8 +43,8 @@ --build=${CT_BUILD} \ --host=${CT_HOST} \ --prefix="${CT_PREFIX_DIR}" \ - --disable-shared \ - --enable-static \ + --enable-shared \ + --disable-static \ --enable-fft \ --enable-mpbsd \ ${opts}