commit b4f58d2: [Minor] Use luajit all the time in Debian builds

Vsevolod Stakhov vsevolod at rspamd.com
Mon Mar 6 08:42:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-03-06 08:40:16 +0000
URL: https://github.com/rspamd/rspamd/commit/b4f58d222f627778333ad9b6e45cbc0ee6fcd590 (HEAD -> master)

[Minor] Use luajit all the time in Debian builds

---
 debian/rules | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 72823c3fc..dc2837d4e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,11 +10,7 @@ FLAVORS = release asan
 CONFIG_asan = -DCMAKE_BUILD_TYPE=Debug -DSANITIZE=address -DENABLE_LTO=OFF
 CONFIG_release = -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_LTO=ON
 
-ifneq ($(filter $(DEB_HOST_ARCH),amd64 armel armhf i386 mips mips64el mipsel ppc64 ppc64el),)
-	ENABLE_LUAJIT := -DENABLE_LUAJIT=ON -DLUA_ROOT=/luajit-build
-else
-	ENABLE_LUAJIT := -DENABLE_LUAJIT=OFF
-endif
+ENABLE_LUAJIT := -DENABLE_LUAJIT=ON -DLUA_ROOT=/luajit-build
 
 # Can be filled by a build system
 EXTRA_ARGS :=
@@ -50,10 +46,8 @@ configure_%:
 		-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
 		-DDEBIAN_BUILD=1 \
 		-DENABLE_PCRE2=ON \
-		-DENABLE_LUAJIT=$(ENABLE_LUAJIT) \
 		-DENABLE_LIBUNWIND=ON \
 		-DWANT_SYSTEMD_UNITS=ON \
-		-DENABLE_STATIC_LIBCXX=OFF \
 		-DENABLE_LIBCXX=AUTO \
 		$(ENABLE_HYPERSCAN) \
 		$(ENABLE_LUAJIT) \


More information about the Commits mailing list