Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libpgm
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-04-16 18:36:23 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-04-16 18:36:23 +0300
commitaf717db9975b141d1149f040e3f85876bdccaf83 (patch)
tree4067fd512b5bca2abbafa874d9ad1f6b4382c814 /extra/libpgm
parent76d45a51dbacd607006b8cfa568b7e7a5bd76c87 (diff)
extra/libpgm: Build with clang
76d45a51dba lied, turns out the linking issue still exists. No idea why building with clang fixes it, but it does.
Diffstat (limited to 'extra/libpgm')
-rw-r--r--extra/libpgm/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/libpgm/PKGBUILD b/extra/libpgm/PKGBUILD
new file mode 100644
index 00000000..af490aa7
--- /dev/null
+++ b/extra/libpgm/PKGBUILD
@@ -0,0 +1,4 @@
+# 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@')"