chroot-gcc: make armv6l default to armv6 with vfp; add defs for armv7l.
This commit is contained in:
parent
8c95573795
commit
4041170616
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue