From b4f58d222f627778333ad9b6e45cbc0ee6fcd590 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 6 Mar 2023 08:40:16 +0000 Subject: [PATCH] [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) \ -- 2.39.5