gcc: update triplets for ARM with glibc and musl.

This commit is contained in:
Juan RP 2014-08-21 16:56:59 +02:00
parent 8fc5850fd4
commit d0d5c96500
1 changed files with 3 additions and 5 deletions

View File

@ -2,7 +2,7 @@
pkgname=gcc pkgname=gcc
_majorver=4.9 _majorver=4.9
version=${_majorver}.1 version=${_majorver}.1
revision=1 revision=2
short_desc="The GNU C Compiler" short_desc="The GNU C Compiler"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gcc.gnu.org" homepage="http://gcc.gnu.org"
@ -33,10 +33,8 @@ case "$XBPS_TARGET_MACHINE" in
x86_64) _triplet="x86_64-unknown-linux-gnu";; x86_64) _triplet="x86_64-unknown-linux-gnu";;
x86_64-musl) _triplet="x86_64-linux-musl";; x86_64-musl) _triplet="x86_64-linux-musl";;
armv5tel) _triplet="arm-linux-gnueabi";; armv5tel) _triplet="arm-linux-gnueabi";;
armv6l) _triplet="arm-linux-gnueabihf";; armv[67]l) _triplet="arm-linux-gnueabihf";;
armv7l) _triplet="arm-linux-gnueabihf7";; arm*-musl) _triplet="arm-linux-musleabi";;
armv6l-musl) _triplet="arm-linux-musleabi";;
armv7l-musl) _triplet="arm-linux-musleabi7";;
esac esac
pre_configure() { pre_configure() {