summaryrefslogtreecommitdiff
path: root/pcr/mitsuba
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mitsuba')
-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