build_compiler_rt.sh: Install libraries and headers automatically if we have write permissions to the according directories

This commit is contained in:
Thomas Pöchtrager 2021-07-17 12:07:56 +02:00
parent bce9988c71
commit de6c72eff2

View File

@ -193,6 +193,9 @@ function print_or_run() {
fi
}
mkdir -p ${CLANG_INCLUDE_DIR} && \
touch ${CLANG_INCLUDE_DIR} 2>/dev/null && ENABLE_COMPILER_RT_INSTALL=1
echo ""
echo ""
echo ""