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.

This commit is contained in:
Sylvestre Ledru 2021-11-13 00:15:53 +01:00
parent fc7eed0001
commit 2dee6a8174
2 changed files with 5 additions and 0 deletions

4
debian/changelog vendored
View File

@ -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

1
debian/rules vendored
View File

@ -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