aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-21 10:57:22 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-21 10:57:22 +0000
commitd0686839d5f25073ee5b994c8c4c862005bbefc1 (patch)
tree93754577d8abb659b145d44f8ca7ba9915756b85
parent36b30a19c4f3aae9e7ebd9ec0da86d2c6120d18e (diff)
downloadrspamd-d0686839d5f25073ee5b994c8c4c862005bbefc1.tar.gz
rspamd-d0686839d5f25073ee5b994c8c4c862005bbefc1.zip
[Minor] Debian: Add extra args to debian rules
-rwxr-xr-xdebian/rules8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 309bd0738..60fcc1eb3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,9 @@ else
ENABLE_LUAJIT := OFF
endif
+# Can be filled by a build system
+EXTRA_ARGS :=
+
ifneq ($(filter $(DEB_HOST_ARCH),amd64 i386),)
ENABLE_HYPERSCAN := -DENABLE_HYPERSCAN=ON
else
@@ -35,11 +38,12 @@ override_dh_auto_configure:
-DENABLE_LTO=ON \
-DDEBIAN_BUILD=1 \
-DENABLE_JEMALLOC=ON \
- -DENABLE_PCRE2=OFF \
+ -DENABLE_PCRE2=ON \
-DENABLE_LUAJIT=$(ENABLE_LUAJIT) \
-DENABLE_LIBUNWIND=ON \
-DWANT_SYSTEMD_UNITS=ON \
- $(ENABLE_HYPERSCAN)
+ $(ENABLE_HYPERSCAN) \
+ $(EXTRA_ARGS)
override_dh_strip:
dh_strip --dbg-package=rspamd-dbg