libraries/zita-resampler: Fix 32bit build.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2024-05-26 20:24:25 +09:00 committed by Willy Sudiarto Raharjo
parent 5e8a9f57c4
commit ba6f0951e1
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,11 @@ sed -e '/native/d' \
-i source/Makefile
sed -e 's|\ $(BINDIR)|\ $(DESTDIR)$(BINDIR)|' apps/Makefile
# Thanks to altlinux
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
sed -e '/^CPPFLAGS += -DENABLE_SSE2/d' -i source/Makefile
fi
make -C source
ln -sv lib$PRGNAM.so.$VERSION source/lib$PRGNAM.so
CFLAGS="$SLKCFLAGS" \