From fcafcacc5850a840eb887386b611e4f5be61a291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Sun, 1 Nov 2020 23:07:11 +0200 Subject: [PATCH] build-compiler-rt: Signal that sanitizers should use libc++ for the cxxabi parts This fixes building with the latest master version of compiler-rt, that uses the itanium cxxabi bits for resolving type info. --- build-compiler-rt.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-compiler-rt.sh b/build-compiler-rt.sh index c5ecf0a..41a8ecf 100755 --- a/build-compiler-rt.sh +++ b/build-compiler-rt.sh @@ -119,6 +119,7 @@ for arch in $ARCHS; do -DCMAKE_C_COMPILER_TARGET=$buildarchname-windows-gnu \ -DCOMPILER_RT_DEFAULT_TARGET_ONLY=TRUE \ -DCOMPILER_RT_USE_BUILTINS_LIBRARY=TRUE \ + -DSANITIZER_CXX_ABI=libc++ \ $SRC_DIR $BUILDCMD ${CORES+-j$CORES} mkdir -p "$PREFIX/lib/clang/$CLANG_VERSION/lib/windows"