]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Use luajit all the time in Debian builds
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 6 Mar 2023 08:40:16 +0000 (08:40 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 6 Mar 2023 08:40:16 +0000 (08:40 +0000)
debian/rules

index 72823c3fc2c95251f38d46ebb790073166269f63..dc2837d4e6e11e1f7747d0d54b33d7d658619c63 100755 (executable)
@@ -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) \