games/darkplaces: i486-->i586

This commit is contained in:
Robby Workman 2021-07-26 02:05:06 -05:00
parent 29f81d7c82
commit 5c541f939a

View file

@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
@ -63,8 +63,8 @@ SOURCE=${SOURCE:-"NO"}
# By default application launcher will use opengl version
SDL=${SDL:-"NO"}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
BINARCH="686"
elif [ "$ARCH" = "i686" ]; then