From 510ad5bc67231b1d962402a9ecb4484d56f408e1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 15 Mar 2014 19:35:57 +0100 Subject: [PATCH] glibc: added support for armv5tel builds. --- common/shlibs | 1 + srcpkgs/glibc/template | 1 + 2 files changed, 2 insertions(+) diff --git a/common/shlibs b/common/shlibs index 9b31abe24a9..3d00a482d6d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -25,6 +25,7 @@ libdl.so.2 glibc-2.8_1 ld-linux-x86-64.so.2 glibc-2.8_1 x86_64 ld-linux.so.2 glibc-2.8_1 i686 ld-linux-armhf.so.3 glibc-2.17_1 armv6l +ld-linux.so.3 glibc-2.17_1 armv5tel libresolv.so.2 glibc-2.8_1 libanl.so.1 glibc-2.8_1 libthread_db.so.1 glibc-2.8_1 diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template index 47ec5a098f8..76d4368273b 100644 --- a/srcpkgs/glibc/template +++ b/srcpkgs/glibc/template @@ -53,6 +53,7 @@ do_configure() { i686) export CFLAGS+=" -mno-tls-direct-seg-refs";; # Force hard float ABI. # To build for soft float: --with-float=soft --without-fp. + armv5*) configure_args+=" --with-march=armv5te --without-fp --with-float=soft";; armv6l*) configure_args+=" --with-march=armv6 --with-fpu=vfp --with-float=hard";; armv7l*) configure_args+=" --with-march=armv7-a --with-fpu=vfpv3 --with-float=hard";; esac