audio/guitarix: Fix 32-bit build.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-03-22 23:14:41 -04:00 committed by Willy Sudiarto Raharjo
parent fd1bb36ac9
commit 5e51f314ac
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -44,11 +44,12 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
# 20220322 bkw: 32-bit builds need -mfxsr now.
if [ "$ARCH" = "i586" ]; then if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686 -msse" SLKCFLAGS="-O2 -march=i586 -mtune=i686 -msse -mfxsr"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686 -msse" SLKCFLAGS="-O2 -march=i686 -mtune=i686 -msse -mfxsr"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC" SLKCFLAGS="-O2 -fPIC"