For discussion of Alpine Linux development and developer support

[alpine-devel] [PATCH] add ARMv5 support to musl

Valery McHno
Details
Message ID
<CAAU3LjvgeMsd5oFqE0Ot-=uU-LQ0KCNQsTJQyd+0y4bv0wSZiQ@mail.gmail.com>
Sender timestamp
1452951946
DKIM signature
missing
Download raw message
Patch: +2 -1
the following patch adds ARMv5 (little endian) support to musl
(actually, to libc6 compatibility).
(patch file with proper formatting also attached.)

--- APKBUILD.orig       2016-01-10 19:00:15.000000000 +0200
+++ APKBUILD    2016-01-10 19:21:27.698869496 +0200
@@ -114,7 +114,8 @@
        pkgdesc="compatibility libraries for glibc"

        case "$CARCH" in
-       arm*) _ld="ld-linux-armhf.so.3" ;;
+       armel) _ld="ld-linux.so.3" ;;
+       armhf) _ld="ld-linux-armhf.so.3" ;;
        x86) _ld="ld-linux.so.2" ;;
        x86_64) _ld="ld-linux-x86-64.so.2" ;;
        mips*) _ld="ld.so.1" ;;