Skip to content

Commit

Permalink
Merge pull request #12866 from lazka/clang-clang-v2
Browse files Browse the repository at this point in the history
clang: try to build with clang and full targets again
  • Loading branch information
lazka authored Aug 29, 2022
2 parents 6580bc5 + 04a3921 commit 38a1c33
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mingw-w64-clang/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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')
Expand All @@ -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 \
Expand Down

0 comments on commit 38a1c33

Please sign in to comment.