summaryrefslogtreecommitdiff
path: root/pcr/shogun
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/shogun')
-rw-r--r--pcr/shogun/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/pcr/shogun/PKGBUILD b/pcr/shogun/PKGBUILD
index e3d67022d..89cc68a0d 100644
--- a/pcr/shogun/PKGBUILD
+++ b/pcr/shogun/PKGBUILD
@@ -15,7 +15,11 @@ md5sums=('57370e869f3b24f74ce9c7b8741000b0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DPythonModular=ON ..
+ DISABLE_SSE=
+ if [ "${CARCH}" != "x86_64" ]; then
+ DISABLE_SSE+="-DDISABLE_SSE=ON"
+ fi
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DPythonModular=ON ${DISABLE_SSE} ..
}
package() {