From b5620c53ac46ac150774101186ea97fe6499b34c Mon Sep 17 00:00:00 2001 From: Dmitry Pankratov Date: Sun, 17 Oct 2021 19:50:01 +0200 Subject: [PATCH] Fix for compiler-rt 13.x build --- build_compiler_rt.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_compiler_rt.sh b/build_compiler_rt.sh index 7192f29..36b811a 100755 --- a/build_compiler_rt.sh +++ b/build_compiler_rt.sh @@ -127,6 +127,9 @@ if [ $f_res -eq 1 ]; then $SED -i 's/${CMAKE_COMMAND} -E ${COMPILER_RT_LINK_OR_COPY}/ln -sf/g' \ lib/builtins/CMakeLists.txt + $SED -i 's/list(APPEND ORC_CFLAGS -I${DIR})//g' \ + lib/orc/CMakeLists.txt + if [ $HAVE_OS_LOCK -eq 0 ]; then $SED -i "s/COMPILER_RT_HAS_TSAN TRUE/COMPILER_RT_HAS_TSAN FALSE/g" \ cmake/config-ix.cmake