chroot-gcc: add defs for armv6 builds; lib32disabled=yes.
This commit is contained in:
parent
36d6102393
commit
fdbc29077b
1 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
|||
# Template build file for 'chroot-gcc'
|
||||
#
|
||||
# WARNING: version and revision must match gcc, otherwise exact dependencies
|
||||
# won't work (libgfortran depends on libgcc-${version}_${revision}).
|
||||
# WARNING: major version must always be synchronized with the following pkgs:
|
||||
# - cross-vpkg-dummy
|
||||
# - gcc
|
||||
# - gcc-multilib
|
||||
#
|
||||
_majorver=4.7
|
||||
_gmp_ver=5.1.3
|
||||
|
@ -27,8 +29,10 @@ checksum="
|
|||
79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b
|
||||
b561f54d8a479cee3bc891ee52735f18ff86712ba30f036f8b8537bae380c488"
|
||||
|
||||
lib32disabled=yes
|
||||
create_wrksrc=yes
|
||||
bootstrap=yes
|
||||
|
||||
provides="
|
||||
libgcc-${version}_${revision}
|
||||
libstdc++-${version}_${revision}
|
||||
|
@ -125,6 +129,7 @@ do_configure() {
|
|||
local _floatabi _args
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv5*) _args+=" --with-arch=armv5te --with-float=soft";;
|
||||
armv6*) _args+=" --with-arch=armv6 --with-fpu=vfp --with-float=hard";;
|
||||
armv7*) _args+=" --with-arch=armv7-a --with-fpu=vfpv3 --with-float=hard";;
|
||||
esac
|
||||
|
@ -176,6 +181,7 @@ do_install() {
|
|||
x86_64-musl) _triplet="x86_64-unknown-linux-musl";;
|
||||
i686) _triplet="i686-pc-linux-gnu";;
|
||||
i686-musl) _triplet="i686-linux-musl";;
|
||||
armv5tel) _triplet="arm-linux-gnueabi";;
|
||||
armv6l) _triplet="arm-linux-gnueabihf";;
|
||||
armv7l) _triplet="arm-linux-gnueabihf7";;
|
||||
armv6l-musl) _triplet="arm-linux-musleabi";;
|
||||
|
|
Loading…
Add table
Reference in a new issue