diff options
author | B. Watson <urchlay@slackware.uk> | 2023-07-23 03:27:49 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-29 08:13:42 +0700 |
commit | 13c21a048e31f1281f7baefe1d92c1941577e4cc (patch) | |
tree | 4b3504581e9891f19ca50b43d250774c711c6f87 /audio | |
parent | 6f0d1ae1f91975955c2aa3a41f7ee6e9f6c0c976 (diff) |
audio/jalv: Fix 32-bit build.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/jalv/jalv.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
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 |