From: LLVM Packaging Team Date: Thu, 16 Jun 2022 10:00:08 +0000 (+0100) Subject: compilerrt-build-scudo-standalone-option X-Git-Tag: archive/raspbian/1%13.0.1-6_deb11u1+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f6e55fdac110c89e67ca2bf0f92ea7137317a677;p=llvm-toolchain-13.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 e12d1eb1ce..f1a989bcf4 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 #================================