From 2dee6a81741322dbcb35201f84d0b7573d9a414c Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 13 Nov 2021 00:15:53 +0100 Subject: [PATCH] If lua is available on the system at built time, a lua lldb binding was created. It was leading to some build failures depending on the package installed on the build system. Force the deactivation of the lua build when lldb is built. --- debian/changelog | 4 ++++ debian/rules | 1 + 2 files changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changelog index bafe8dc7..b8ab4dad 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,10 @@ llvm-toolchain-snapshot (1:14~++20211111061527+d56b171ee965-1~exp1) UNRELEASED; as llvm-spir is too old on these version. See bug #52200 * Adjust the sphinx build as the makefile have been removed + * If lua is available on the system at built time, a lua lldb binding + was created. It was leading to some build failures depending + on the package installed on the build system. + Force the deactivation of the lua build when lldb is built. [ Erik Maciejewski ] * Merge migration to 2stage runtimes build 13 => 14 diff --git a/debian/rules b/debian/rules index e4488601..922232e5 100755 --- a/debian/rules +++ b/debian/rules @@ -323,6 +323,7 @@ ifeq (,$(filter-out $(LLDB_DISABLE_ARCHS), $(DEB_HOST_ARCH))) # Disable LLDB for this arch. LLDB_ENABLE=no else + STAGE_ALL_CMAKE_EXTRA += -DLLDB_ENABLE_LUA=OFF PROJECTS+=;lldb endif