summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/boost/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/boost/PKGBUILD b/extra/boost/PKGBUILD
index 023748a1a..dc47b2857 100644
--- a/extra/boost/PKGBUILD
+++ b/extra/boost/PKGBUILD
@@ -59,6 +59,9 @@ build() {
install -d -m 755 "${_stagedir}"/share/boostbook
cp -a tools/boostbook/{xsl,dtd} "${_stagedir}"/share/boostbook/
+ # Disable context on mips64el, it needs N32-specific assembly.
+ [ "$CARCH" = "mips64el" ] && extra=--without-context
+
# default "minimal" install: "release link=shared,static
# runtime-link=shared threading=single,multi"
# --layout=tagged will add the "-mt" suffix for multithreaded libraries
@@ -75,6 +78,7 @@ build() {
python=2.7 \
--layout=system \
--prefix="${_stagedir}" \
+ $extra \
${JOBS} \
install