Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libpgm/PKGBUILD
blob: dbb0fa1d3743f62814b5e26874b25928eea17119 (plain)
1
2
3
4
5
6
7
8
# Build with clang because for some reason gcc does not recognise _mm_cvtm64_si64 (and possibly others)
# checksum.c:952:34: warning: implicit declaration of function '_mm_cvtm64_si64'; did you mean '_mm_cvtsi64_si32'? [-Wimplicit-function-declaration]
makedepends+=('clang')
eval "$(declare -f build | sed 's@./configure@CC=clang ./configure@')"

if [ "$CARCH" = 'i486' ]; then
  makedepends+=(llvm14-libs)
fi