fix GMP base URL
[rofl0r-mmix-cross.git] / extra / extraconfig.sh
blob3fc50343367542259139459e92116a8131b3c1a5
1 # This is a suggested extraconfig.sh for build-tarballs.sh
3 case "$ARCH" in
4 arm*hf)
5 GCC_BOOTSTRAP_CONFFLAGS="$GCC_BOOTSTRAP_CONFFLAGS --with-arch=armv5t --with-fpu=vfp"
6 GCC_CONFFLAGS="$GCC_CONFFLAGS --with-arch=armv5t --with-fpu=vfp"
7 ;;
9 arm*)
10 GCC_BOOTSTRAP_CONFFLAGS="$GCC_BOOTSTRAP_CONFFLAGS --with-arch=armv4t"
11 GCC_CONFFLAGS="$GCC_CONFFLAGS --with-arch=armv4t"
14 powerpc* | ppc*)
15 GCC_BOOTSTRAP_CONFFLAGS="$GCC_BOOTSTRAP_CONFFLAGS --with-long-double-64 --enable-secureplt"
16 GCC_CONFFLAGS="$GCC_CONFFLAGS --with-long-double-64 --enable-secureplt"
18 esac
20 case "$ARCH" in
21 *hf | \
22 *-hf*)
23 GCC_BOOTSTRAP_CONFFLAGS="$GCC_BOOTSTRAP_CONFFLAGS --with-float=hard"
24 GCC_CONFFLAGS="$GCC_CONFFLAGS --with-float=hard"
27 *sf | \
28 *-sf*)
29 GCC_BOOTSTRAP_CONFFLAGS="$GCC_BOOTSTRAP_CONFFLAGS --with-float=soft"
30 GCC_CONFFLAGS="$GCC_CONFFLAGS --with-float=soft"
32 esac
34 WITH_SYSROOT=yes