audio/jalv: Fix 32-bit build.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-07-23 03:27:49 -04:00 committed by Willy Sudiarto Raharjo
parent 6f0d1ae1f9
commit 13c21a048e
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230723 bkw: fix 32-bit build (needs -fPIC).
# 20230110 bkw: update for v1.6.8. no more waf; it uses meson now.
# 20211202 bkw:
# - update for v1.6.6.
@ -38,16 +39,16 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX=""
fi