summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-01 16:59:11 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-01 16:59:11 +0200
commit7d33f92ae992837f61fe5db4535e95dfec6924fa (patch)
tree3d81ae3b125e9f07717ef7ad4a6bb380cfff2443
parent75409d4272f018f1bed56ea80704b8c14becd2b3 (diff)
Disable boost context on mips64el.
-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