From 13c21a048e31f1281f7baefe1d92c1941577e4cc Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 23 Jul 2023 03:27:49 -0400 Subject: audio/jalv: Fix 32-bit build. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- audio/jalv/jalv.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'audio') diff --git a/audio/jalv/jalv.SlackBuild b/audio/jalv/jalv.SlackBuild index 02d5e74fbdb4a..42ec448955648 100644 --- a/audio/jalv/jalv.SlackBuild +++ b/audio/jalv/jalv.SlackBuild @@ -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 -- cgit v1.2.3