From: LLVM Packaging Team Date: Sun, 1 Jan 2023 14:46:39 +0000 (+0000) Subject: compilerrt-build-scudo-standalone-option X-Git-Tag: archive/raspbian/1%15.0.6-4+rpi1^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2a95cf0eba14a2bbce2f05c917531f3c849dd1fc;p=llvm-toolchain-15.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 6273773569..11407ea862 100644 --- a/compiler-rt/CMakeLists.txt +++ b/compiler-rt/CMakeLists.txt @@ -267,6 +267,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 #================================