From: LLVM Packaging Team Date: Mon, 16 Oct 2023 13:14:10 +0000 (+0000) Subject: compilerrt-build-scudo-standalone-option X-Git-Tag: archive/raspbian/1%16.0.6-15_deb12u1+rpi1^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cad7d43e2c3c30173bc2f035a0687b9793ca579c;p=llvm-toolchain-16.git compilerrt-build-scudo-standalone-option add option to disable compiler-rt scudo standalone allocator as it is not always supported by all arch profiles such as arm5vt of ARM32 arch Gbp-Pq: Topic compiler-rt Gbp-Pq: Name compilerrt-build-scudo-standalone-option.diff --- diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt index 8a13508fcb..4d9ecdbe11 100644 --- a/compiler-rt/CMakeLists.txt +++ b/compiler-rt/CMakeLists.txt @@ -303,6 +303,12 @@ option(COMPILER_RT_USE_BUILTINS_LIBRARY include(config-ix) +option(COMPILER_RT_BUILD_SCUDO_STANDALONE + "override whether or not to build scudo standalone" ON) +if(NOT COMPILER_RT_BUILD_SCUDO_STANDALONE) + set(COMPILER_RT_HAS_SCUDO_STANDALONE FALSE) +endif() + #================================ # Setup Compiler Flags #================================