diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-04-26 14:24:15 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-04-26 14:24:15 -0300 |
commit | 61f4c0dc174ba796a4bf403eb8cd58aa4b5cb211 (patch) | |
tree | 03550724eb8af0b360553e69e2b94ffd15cc243e /pcr/mitsuba | |
parent | c1cd2590bc25ba239285ac84c27196dc0da452b1 (diff) |
mitsuba: supporting i686 without SSE
Diffstat (limited to 'pcr/mitsuba')
-rw-r--r-- | pcr/mitsuba/PKGBUILD | 3 |
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 |