mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
multimedia/pocketsphinx: Update pocketsphinx.SlackBuild
change -mtune flag to generic Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
83cf29c43f
commit
d3f8c65a73
1 changed files with 3 additions and 3 deletions
|
@ -51,13 +51,13 @@ PKG=$TMP/package-$PRGNAM
|
|||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686 -pipe -fPIC"
|
||||
SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686 -pipe -fPIC"
|
||||
SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC -march=x86-64 -mtune=native -pipe"
|
||||
SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
|
|
Loading…
Reference in a new issue