Revert "gcc: update triplet for armv7l."
This reverts commit 2998d95ba922b0fd4b32e49eed4a8bd17b38a9c6.
This commit is contained in:
parent
2f3537525a
commit
10e3477ab9
@ -2,7 +2,7 @@
|
|||||||
pkgname=gcc
|
pkgname=gcc
|
||||||
_majorver=4.9
|
_majorver=4.9
|
||||||
version=${_majorver}.1
|
version=${_majorver}.1
|
||||||
revision=6
|
revision=5
|
||||||
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,8 +33,7 @@ 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="armv7l-linux-gnueabihf";;
|
|
||||||
arm*-musl) _triplet="arm-linux-musleabi";;
|
arm*-musl) _triplet="arm-linux-musleabi";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -62,6 +61,9 @@ 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…
x
Reference in New Issue
Block a user