From: LLVM Packaging Team Date: Sat, 25 Jun 2022 07:56:23 +0000 (+0100) Subject: compilerrt-build-scudo-standalone-option X-Git-Tag: archive/raspbian/1%14.0.6-2+rpi1^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=549fff06ef8db6bbe8feca73ff75cd2e1b593cb6;p=llvm-toolchain-14.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: Name compilerrt-build-scudo-standalone-option.diff --- diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt index 3a41aa43e4..53824fccd0 100644 --- a/compiler-rt/CMakeLists.txt +++ b/compiler-rt/CMakeLists.txt @@ -250,6 +250,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 #================================