mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
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:
parent
fd1bb36ac9
commit
5e51f314ac
1 changed files with 3 additions and 2 deletions
|
@ -44,11 +44,12 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
# 20220322 bkw: 32-bit builds need -mfxsr now.
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686 -msse"
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686 -msse -mfxsr"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686 -msse"
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686 -msse -mfxsr"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
|
|
Loading…
Reference in a new issue