commit ed02d81: [Minor] Sigh... another fix for debian/rules

Vsevolod Stakhov vsevolod at rspamd.com
Mon Mar 6 09:14:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-03-06 09:09:50 +0000
URL: https://github.com/rspamd/rspamd/commit/ed02d81e26b78ac60a1056b5b7ef245d7b3e75dd (HEAD -> master)

[Minor] Sigh... another fix for debian/rules

---
 debian/rules | 5 +++--
 1 file 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


More information about the Commits mailing list