From af717db9975b141d1149f040e3f85876bdccaf83 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Tue, 16 Apr 2024 18:36:23 +0300 Subject: 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. --- extra/libpgm/PKGBUILD | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 extra/libpgm/PKGBUILD (limited to 'extra/libpgm') 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@')" -- cgit v1.2.3-70-g09d2