aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-06-01 10:57:20 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-06-01 10:57:20 +0000
commitf188b2a674cc683ecbc17f76759603a903fa5f93 (patch)
treec3e39a95ccfd2cdc1971324594b4d58bba2a671d /main/gcc/APKBUILD
parentf6baa2aad98a418cd21b857f825e772a987b7c93 (diff)
downloadaports-f188b2a674cc683ecbc17f76759603a903fa5f93.tar.gz
aports-f188b2a674cc683ecbc17f76759603a903fa5f93.tar.bz2
aports-f188b2a674cc683ecbc17f76759603a903fa5f93.tar.xz
main/gcc: add armv5-*-*eabi triplet
Diffstat (limited to 'main/gcc/APKBUILD')
-rw-r--r--main/gcc/APKBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index 80bcb150eb..e7ce880603 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -242,6 +242,7 @@ build() {
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71989
case "$CTARGET" in
aarch64-*-*-*) _arch_configure="--with-arch=armv8-a --with-abi=lp64 --disable-bootstrap";;
+ armv5-*-*-*eabi) _arch_configure="--with-arch=armv5te --with-tune=arm926ej-s --with-float=soft --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";;
armv7-*-*-*eabihf) _arch_configure="--with-arch=armv7-a --with-tune=generic-armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-abi=aapcs-linux --with-mode=thumb";;
mipsel-*-*-*) _arch_configure="--with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=32 --with-mips-plt --with-float=hard --with-abi=32";;