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.
This commit is contained in:
Martin Storsjö committed 2020-11-03 11:16:38 +02:00
1 parent f231314da7
commit fcafcacc58
1 file changed
+1
+1
View File
@@ -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"