commit d068683: [Minor] Debian: Add extra args to debian rules
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Jan 21 11:00:08 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-01-21 10:57:22 +0000
URL: https://github.com/rspamd/rspamd/commit/d0686839d5f25073ee5b994c8c4c862005bbefc1 (HEAD -> master)
[Minor] Debian: Add extra args to debian rules
---
debian/rules | 8 ++++++--
1 file 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
More information about the Commits
mailing list