diff --git a/srcpkgs/chroot-gcc/template b/srcpkgs/chroot-gcc/template index ebadefc1eb5..bb3b04855cf 100644 --- a/srcpkgs/chroot-gcc/template +++ b/srcpkgs/chroot-gcc/template @@ -7,7 +7,7 @@ _mpc_ver=0.8.2 pkgname=chroot-gcc version=${_majorver}.3 -revision=2 +revision=3 wrksrc="gcc-${version}" homepage="http://gcc.gnu.org" short_desc="The GNU C Compiler suite -- for xbps-src use" @@ -110,7 +110,9 @@ do_configure() { fi if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then - _floatabi="--with-float=hard" + _args+=" --with-arch=armv6 --with-fpu=vfp --with-float=hard" + elif [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then + _args+=" --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard" fi if [ "$CROSS_BUILD" ]; then @@ -147,7 +149,7 @@ do_configure() { --without-cloog --without-ppl --disable-libstdcxx-pch \ --disable-libquadmath --disable-libquadmath-support \ --disable-libgomp --disable-libssp --disable-libitm \ - ${_args} ${_floatabi} + ${_args} } do_build() {