aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2015-05-14 15:08:01 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2015-05-14 15:08:01 -0500
commit10116065418a10e252212be554272b0e02b8a14e (patch)
tree9ca01bf193c577bb8db28a450fb6b5c48f096443 /main/gcc
parent4e25c30f283676ed56ff89f11f0e1f015cd5c0d3 (diff)
downloadaports-10116065418a10e252212be554272b0e02b8a14e.tar.bz2
aports-10116065418a10e252212be554272b0e02b8a14e.tar.xz
main/gcc: add support for bootstrapping a mipsel toolchain
Diffstat (limited to 'main/gcc')
-rw-r--r--main/gcc/APKBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index a23e5d72a0..d490ca2dd9 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -252,6 +252,7 @@ build() {
case "$CTARGET" in
armv7-*-*-*eabihf) _arch_configure="--with-arch=armv7-a --with-tune=cortex-a15 --with-fpu=vfpv3-d16 --with-float=hard --with-abi=aapcs-linux";;
armv6-*-*-*eabihf) _arch_configure="--with-arch=armv6zk --with-tune=arm1176jzf-s --with-fpu=vfp --with-float=hard --with-abi=aapcs-linux";;
+ mipsel-*-*-*) _arch_configure="--with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=32 --with-mips-plt --with-float=hard --with-abi=32";;
i486-*-*-*) _arch_configure="--with-arch=i486 --with-tune=generic --enable-cld";;
esac