gcc: update triplet for armv7l.
This commit is contained in:
parent
a5b8b3052b
commit
2998d95ba9
1 changed files with 3 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
pkgname=gcc
|
pkgname=gcc
|
||||||
_majorver=4.9
|
_majorver=4.9
|
||||||
version=${_majorver}.1
|
version=${_majorver}.1
|
||||||
revision=5
|
revision=6
|
||||||
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,7 +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";;
|
||||||
armv[67]l) _triplet="arm-linux-gnueabihf";;
|
armv6l) _triplet="arm-linux-gnueabihf";;
|
||||||
|
armv7l) _triplet="armv7l-linux-gnueabihf";;
|
||||||
arm*-musl) _triplet="arm-linux-musleabi";;
|
arm*-musl) _triplet="arm-linux-musleabi";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -61,9 +62,6 @@ do_configure() {
|
||||||
_langs="c,c++,lto"
|
_langs="c,c++,lto"
|
||||||
_args+=" --disable-multilib --host=$XBPS_CROSS_TRIPLET --with-build-sysroot=${XBPS_CROSS_BASE}"
|
_args+=" --disable-multilib --host=$XBPS_CROSS_TRIPLET --with-build-sysroot=${XBPS_CROSS_BASE}"
|
||||||
else
|
else
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
arm*) _args+=" --build=${_triplet}";;
|
|
||||||
esac
|
|
||||||
_langs="c,c++,objc,obj-c++,fortran,lto,go,java"
|
_langs="c,c++,objc,obj-c++,fortran,lto,go,java"
|
||||||
_args+=" --enable-java-gc=boehm --enable-fast-character"
|
_args+=" --enable-java-gc=boehm --enable-fast-character"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue