summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-26 14:24:15 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-26 14:24:15 -0300
commit61f4c0dc174ba796a4bf403eb8cd58aa4b5cb211 (patch)
tree03550724eb8af0b360553e69e2b94ffd15cc243e
parentc1cd2590bc25ba239285ac84c27196dc0da452b1 (diff)
mitsuba: supporting i686 without SSE
-rw-r--r--pcr/mitsuba/PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
index d418e5d55..bc9600e25 100644
--- a/pcr/mitsuba/PKGBUILD
+++ b/pcr/mitsuba/PKGBUILD
@@ -76,7 +76,10 @@ prepare() {
build() {
cd $srcdir/${pkgname[0]}/build
+ [[ $CARCH == i686 ]] && DMTS_SSE='-DMTS_SSE=OFF'
+
setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
+ $DMTS_SSE\
-DBoost_PYTHON_LIBRARY=/usr/lib/libboost_python${_pyver::1}.so\
-DPYTHON_INCLUDE_DIR=/usr/include/python${_pyver}m\
-DPYTHON_LIBRARY=/usr/lib/libpython${_pyver}m.so