glibc: build all arm machines with hard float.

This commit is contained in:
Juan RP 2014-01-18 08:12:07 +01:00
parent 47aa5bb52a
commit be786e348c

View file

@ -41,15 +41,15 @@ do_configure() {
echo "sbindir=/usr/sbin" >> configparms echo "sbindir=/usr/sbin" >> configparms
echo "rootsbindir=/usr/sbin" >> configparms echo "rootsbindir=/usr/sbin" >> configparms
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then case "$XBPS_TARGET_MACHINE" in
# Build with -mno-tls-direct-seg-refs to avoid performance # Build with -mno-tls-direct-seg-refs to avoid performance
# problems with Xen on x86 32bit. # problems with Xen on x86 32bit.
export CFLAGS+=" -mno-tls-direct-seg-refs" i686) export CFLAGS+=" -mno-tls-direct-seg-refs";;
elif [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
# Force hard float ABI. # Force hard float ABI.
# To build for soft float: --with-float=soft --without-fp. # To build for soft float: --with-float=soft --without-fp.
configure_args+=" --with-float=hard" arm*) configure_args+=" --with-float=hard";;
fi esac
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-headers=${XBPS_CROSS_BASE}/usr/include" configure_args+=" --with-headers=${XBPS_CROSS_BASE}/usr/include"
else else
@ -116,7 +116,7 @@ glibc-devel_package() {
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove "usr/lib/*.a" vmove "usr/lib/*.a"
vmove "usr/lib/*crt1.o" vmove "usr/lib/*.o"
vmove usr/share/info vmove usr/share/info
} }
} }