aboutsummaryrefslogtreecommitdiffstats
path: root/rpm
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-11-11 12:29:53 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-11-11 12:29:53 +0000
commitbd5f6edde6a565566846c7df9e9e61354d8e15aa (patch)
treeec000da3224cdc22c12e3c7b66574901f5abf662 /rpm
parent2da8749c237b51363c199fd2b6ce347d7f51cba6 (diff)
downloadrspamd-bd5f6edde6a565566846c7df9e9e61354d8e15aa.tar.gz
rspamd-bd5f6edde6a565566846c7df9e9e61354d8e15aa.zip
[Minor] Limit fasttext to amd64 only
Diffstat (limited to 'rpm')
-rw-r--r--rpm/rspamd.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/rpm/rspamd.spec b/rpm/rspamd.spec
index 965245e29..e1e24510d 100644
--- a/rpm/rspamd.spec
+++ b/rpm/rspamd.spec
@@ -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