diff --git a/gcc-4.9/build.sh b/gcc-4.9/build.sh index f51cb6d0a..331386d2d 100644 --- a/gcc-4.9/build.sh +++ b/gcc-4.9/build.sh @@ -1,10 +1,21 @@ -./configure \ - --prefix=$PREFIX \ - --with-gmp=$PREFIX \ - --with-mpfr=$PREFIX \ - --with-mpc=$PREFIX \ - --with-isl=$PREFIX \ - --with-cloog=$PREFIX +if [ `uname` == Darwin ]; then + ./configure \ + --prefix=$PREFIX \ + --with-gmp=$PREFIX \ + --with-mpfr=$PREFIX \ + --with-mpc=$PREFIX \ + --with-isl=$PREFIX \ + --with-cloog=$PREFIX \ + --disable-multilib +else + ./configure \ + --prefix=$PREFIX \ + --with-gmp=$PREFIX \ + --with-mpfr=$PREFIX \ + --with-mpc=$PREFIX \ + --with-isl=$PREFIX \ + --with-cloog=$PREFIX +fi make make install