mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
core/glibc: armv6h bits
This commit is contained in:
parent
d2ca2de111
commit
ece989f7f1
1 changed files with 3 additions and 2 deletions
|
@ -55,7 +55,7 @@ build() {
|
||||||
|
|
||||||
# ALARM: Symlink ports dir, patch for hard-float ld-linux soname
|
# ALARM: Symlink ports dir, patch for hard-float ld-linux soname
|
||||||
ln -s ${srcdir}/${pkgname}-ports-${pkgver} ./ports
|
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
|
# fix res_query assertion
|
||||||
# http://sourceware.org/bugzilla/show_bug.cgi?id=13013
|
# http://sourceware.org/bugzilla/show_bug.cgi?id=13013
|
||||||
|
@ -77,6 +77,7 @@ build() {
|
||||||
|
|
||||||
# ALARM: Specify build host types
|
# ALARM: Specify build host types
|
||||||
[[ $CARCH == "arm" ]] && CONFIGFLAG="--host=arm-unknown-linux-gnueabi --build=arm-unknown-linux-gnueabi" && MAKEFLAG="-j1"
|
[[ $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"
|
[[ $CARCH == "armv7h" ]] && CONFIGFLAG="--host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf" && MAKEFLAG="-j2"
|
||||||
|
|
||||||
echo "slibdir=/lib" >> configparms
|
echo "slibdir=/lib" >> configparms
|
||||||
|
@ -148,7 +149,7 @@ package() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ALARM: symlink ld-linux.so.3 for hard-float
|
# 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
|
# Do not strip the following files for improved debugging support
|
||||||
# ("improved" as in not breaking gdb and valgrind...):
|
# ("improved" as in not breaking gdb and valgrind...):
|
||||||
|
|
Loading…
Reference in a new issue