From 2e4cda8ece8fe9ff93bd41e0957a0bec31af34ff Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 14 Feb 2021 09:31:42 +0100 Subject: extra/zita-resampler: SSE2 fix for i686 and i486 --- extra/zita-resampler/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 extra/zita-resampler/PKGBUILD (limited to 'extra/zita-resampler/PKGBUILD') diff --git a/extra/zita-resampler/PKGBUILD b/extra/zita-resampler/PKGBUILD new file mode 100644 index 00000000..9cc348a7 --- /dev/null +++ b/extra/zita-resampler/PKGBUILD @@ -0,0 +1,10 @@ +# SSE2 only for pentium4, not for i686/i486 +if [ "${CARCH}" = "i686" ] || [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f prepare | \ + sed ' + /native/ a \ + sed -i '\''/-DENABLE_SSE2/d'\'' source/Makefile + ' + )" +fi -- cgit v1.2.3-70-g09d2