LDC: Skip building compiler-rt memory profiling runtime

To prevent the `interception` library from being compiled, which hits a
static assert failure for both 32-bit ARM and i686 targets.
This commit is contained in:
Martin Kinkelin 2021-07-31 21:47:04 +02:00 committed by Leonid Pliushch
parent 94e092df99
commit bcd458bead

View File

@ -82,8 +82,8 @@ termux_step_pre_configure() {
# Don't build compiler-rt sanitizers:
# * 64-bit targets: libclang_rt.hwasan-*-android.so fails to link
# * 32-bit ARM: compile errors for interception library
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DCOMPILER_RT_BUILD_SANITIZERS=OFF"
# * 32-bit targets: compile errors for interception library
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_MEMPROF=OFF"
local LLVM_TARGET_ARCH
if [ $TERMUX_ARCH = "arm" ]; then