From ece989f7f18f490893662a143a7426b6b2ab20d2 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 29 Jul 2012 18:58:30 +0000 Subject: [PATCH] core/glibc: armv6h bits --- core/glibc/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD index cb42b32aa..9869a8d30 100644 --- a/core/glibc/PKGBUILD +++ b/core/glibc/PKGBUILD @@ -55,7 +55,7 @@ build() { # ALARM: Symlink ports dir, patch for hard-float ld-linux soname ln -s ${srcdir}/${pkgname}-ports-${pkgver} ./ports - [[ $CARCH == "armv7h" ]] && patch -p1 -i ${srcdir}/local-soname-hack.diff + [[ $CARCH == "armv6h" || $CARCH == "armv7h" ]] && patch -p1 -i ${srcdir}/local-soname-hack.diff # fix res_query assertion # http://sourceware.org/bugzilla/show_bug.cgi?id=13013 @@ -77,6 +77,7 @@ build() { # ALARM: Specify build host types [[ $CARCH == "arm" ]] && CONFIGFLAG="--host=arm-unknown-linux-gnueabi --build=arm-unknown-linux-gnueabi" && MAKEFLAG="-j1" + [[ $CARCH == "armv6h" ]] && CONFIGFLAG="--host=armv6l-unknown-linux-gnueabihf --build=armv6l-unknown-linux-gnueabihf" && MAKEFLAG="-j2" [[ $CARCH == "armv7h" ]] && CONFIGFLAG="--host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf" && MAKEFLAG="-j2" echo "slibdir=/lib" >> configparms @@ -148,7 +149,7 @@ package() { fi # ALARM: symlink ld-linux.so.3 for hard-float - [[ $CARCH == "armv7h" ]] && ln -s /lib/ld-2.16.so ${pkgdir}/lib/ld-linux.so.3 + [[ $CARCH == "armv6h" || $CARCH == "armv7h" ]] && ln -s /lib/ld-2.16.so ${pkgdir}/lib/ld-linux.so.3 # Do not strip the following files for improved debugging support # ("improved" as in not breaking gdb and valgrind...):