diff --git a/mingw-w64-clang/PKGBUILD b/mingw-w64-clang/PKGBUILD index 507f9cd87fdfb..32ccbbcde1b79 100644 --- a/mingw-w64-clang/PKGBUILD +++ b/mingw-w64-clang/PKGBUILD @@ -11,7 +11,7 @@ if [[ $MINGW_PACKAGE_PREFIX == *-clang-* ]]; then _clangprefix=1 _compiler=clang else - _compiler=gcc + _compiler=clang fi _realname=clang pkgbase=mingw-w64-${_realname} @@ -23,7 +23,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}" "${MINGW_PACKAGE_PREFIX}-lld" "${MINGW_PACKAGE_PREFIX}-llvm") pkgver=14.0.6 -pkgrel=5 +pkgrel=6 pkgdesc="C language family frontend for LLVM (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') @@ -38,7 +38,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake" "${MINGW_PACKAGE_PREFIX}-python-sphinx" "${MINGW_PACKAGE_PREFIX}-python" $([[ "$_compiler" == "clang" ]] && echo \ - "${MINGW_PACKAGE_PREFIX}-clang" \ + "${MINGW_PACKAGE_PREFIX}-clang") + $((( _clangprefix )) && echo \ "${MINGW_PACKAGE_PREFIX}-compiler-rt" \ "${MINGW_PACKAGE_PREFIX}-libc++") $([[ "$_compiler" == "gcc" ]] && echo \