diff -ur 01/bootstrap-prefix.sh 02/bootstrap-prefix.sh --- 01/bootstrap-prefix.sh 2020-10-24 18:59:42.666509906 +0300 +++ 02/bootstrap-prefix.sh 2020-10-24 19:01:46.479776856 +0300 @@ -222,8 +222,8 @@ local ccvers="$( (unset CHOST; gcc --version 2>/dev/null) )" local mycc= case "${ccvers}" in - *"Apple LLVM version "*) - vers=${ccvers#*Apple LLVM version } + *"Apple "*" version "*) + vers=${ccvers#*Apple * version } vers=${vers% (clang-*} # let's assume that >=llvm-3.6 is able to compile # libcxx, so select the matching Apple versions, see