]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Limit fasttext to amd64 only
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 11 Nov 2023 12:29:53 +0000 (12:29 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 11 Nov 2023 12:29:53 +0000 (12:29 +0000)
rpm/rspamd.spec

index 965245e29756e75796126b104a8c05a1e85960ce..e1e24510d0391d98f8b531000eda0ab8d7c01793 100644 (file)
@@ -158,8 +158,10 @@ rm -f %{_builddir}/luajit-build/lib/*.so || true
 %else
         -DENABLE_LUAJIT=OFF \
 %endif
-        -DENABLE_BLAS=ON \
-        -DENABLE_FASTTEXT=ON
+%ifarch x86_64
+        -DENABLE_FASTTEXT=ON \
+%endif
+        -DENABLE_BLAS=ON
 make %{?_smp_mflags}
 
 %install