summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-03-06 09:09:50 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-03-06 09:09:50 +0000
commited02d81e26b78ac60a1056b5b7ef245d7b3e75dd (patch)
tree62d6cba021bed8e6a2779e751db67b6a0653f103 /debian
parentb4f58d222f627778333ad9b6e45cbc0ee6fcd590 (diff)
downloadrspamd-ed02d81e26b78ac60a1056b5b7ef245d7b3e75dd.tar.gz
rspamd-ed02d81e26b78ac60a1056b5b7ef245d7b3e75dd.zip
[Minor] Sigh... another fix for debian/rules
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index dc2837d4e..9dd4db2bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,11 +16,12 @@ ENABLE_LUAJIT := -DENABLE_LUAJIT=ON -DLUA_ROOT=/luajit-build
EXTRA_ARGS :=
ENABLE_JEMALLOC := -DENABLE_JEMALLOC=OFF
-ifneq ($(filter $(DEB_HOST_ARCH),amd64 i386 arm64),)
+ifeq ($(filter $(DEB_HOST_ARCH),amd64 i386 arm64),)
ifeq ($(filter $(DEB_HOST_ARCH),arm64),)
- ENABLE_JEMALLOC := -DENABLE_JEMALLOC=ON
+ ENABLE_JEMALLOC := -DENABLE_JEMALLOC=OFF
ENABLE_HYPERSCAN := -DENABLE_HYPERSCAN=ON -DHYPERSCAN_ROOT_DIR=/vectorscan
else
+ ENABLE_JEMALLOC := -DENABLE_JEMALLOC=ON
ENABLE_HYPERSCAN := -DENABLE_HYPERSCAN=ON
endif
else