summaryrefslogtreecommitdiff
path: root/libraries/SDL_gfx/SDL_gfx.SlackBuild
diff options
context:
space:
mode:
authorklaatu <klaatu@member.fsf.org>2017-04-01 18:55:24 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-08 06:57:42 +0700
commit0caf114d6e7046e2d3c251f9c9124a65dbac3928 (patch)
treef7be416515d1f8ca71f32d788a9a1614fa09af9b /libraries/SDL_gfx/SDL_gfx.SlackBuild
parent9ab99c8a3383132c5cf1d1fa34610da09c27010c (diff)
downloadslackbuilds-0caf114d6e7046e2d3c251f9c9124a65dbac3928.tar.gz
libraries/SDL_gfx: New maintainer + switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/SDL_gfx/SDL_gfx.SlackBuild')
-rw-r--r--libraries/SDL_gfx/SDL_gfx.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/SDL_gfx/SDL_gfx.SlackBuild b/libraries/SDL_gfx/SDL_gfx.SlackBuild
index 12a0b689e6..5d84be05bd 100644
--- a/libraries/SDL_gfx/SDL_gfx.SlackBuild
+++ b/libraries/SDL_gfx/SDL_gfx.SlackBuild
@@ -31,7 +31,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,8 +44,8 @@ OUTPUT=${OUTPUT:-/tmp}
# Seems that having MMX enabled on x86_64 is not supported. So enabled
# it for i[46]86, but disable it otherwise.
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
MIX=${MIX:-"en"}
elif [ "$ARCH" = "i686" ]; then