aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules10
1 files changed, 2 insertions, 8 deletions
diff --git a/debian/rules b/debian/rules
index 23a9cd96d..7ee2b3760 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,18 +14,12 @@ ENABLE_LUAJIT := -DENABLE_LUAJIT=ON -DLUA_ROOT=/luajit-build
# Can be filled by a build system
EXTRA_ARGS :=
-ENABLE_JEMALLOC := -DENABLE_JEMALLOC=OFF
+ENABLE_JEMALLOC := -DENABLE_JEMALLOC=ON
+ENABLE_HYPERSCAN := -DENABLE_HYPERSCAN=ON
-ifeq ($(filter $(DEB_HOST_ARCH),amd64 i386 arm64),)
ifeq ($(filter $(DEB_HOST_ARCH),arm64),)
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
- ENABLE_HYPERSCAN := -DENABLE_HYPERSCAN=OFF
endif
%: