summaryrefslogtreecommitdiff
path: root/core/glibc/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-09-29 23:32:33 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-09-29 23:32:33 -0300
commit5fc1c6fe28d8980df5c0f8364bc2d188343e9a85 (patch)
tree9d983bb35387c247a8a0af367b85b705ab4bd7db /core/glibc/PKGBUILD
parent3a2e5385d03fe27457f07f0141fbc3eefade528b (diff)
upgrade
Diffstat (limited to 'core/glibc/PKGBUILD')
-rw-r--r--core/glibc/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
index d3664345e..c8d7a0bb8 100644
--- a/core/glibc/PKGBUILD
+++ b/core/glibc/PKGBUILD
@@ -51,6 +51,10 @@ prepare() {
build() {
cd ${srcdir}/glibc-build
+ # on mips64el it fails with
+ # configure: error: --enable-multi-arch support requires assembler and linker support
+ extra=" --enable-multi-arch"
+
if [[ ${CARCH} = "i686" ]]; then
# Hack to fix NPTL issues with Xen, only required on 32bit platforms
# TODO: make separate glibc-xen package for i686
@@ -58,6 +62,7 @@ build() {
elif [[ ${CARCH} = "mips64el" ]]; then
# mips64el is only supported in ports.
extra_addons=",ports"
+ unset extra
fi
echo "slibdir=/usr/lib" >> configparms
@@ -78,8 +83,7 @@ build() {
--enable-kernel=2.6.32 \
--enable-bind-now --disable-profile \
--enable-stackguard-randomization \
- --enable-lock-elision \
- --enable-multi-arch
+ --enable-lock-elision $extra
# build libraries with hardening disabled
echo "build-programs=no" >> configparms