aboutsummaryrefslogtreecommitdiff
path: root/games/cgmadness/cgmadness.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 16:51:05 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:33 +0000
commite50c4c926baa1625dfbc4d7d51b75d9723bccec0 (patch)
treeaef645a1abccf934b91f1b8a3a53543596bfe13a /games/cgmadness/cgmadness.SlackBuild
parent7b9d1442bf0193753cb8beb582768ec99b59a973 (diff)
games/cgmadness: Make .desktop validate, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/cgmadness/cgmadness.SlackBuild')
-rw-r--r--games/cgmadness/cgmadness.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/cgmadness/cgmadness.SlackBuild b/games/cgmadness/cgmadness.SlackBuild
index 757e95de632e9..c23ff57222504 100644
--- a/games/cgmadness/cgmadness.SlackBuild
+++ b/games/cgmadness/cgmadness.SlackBuild
@@ -1,4 +1,3 @@
-
#!/bin/sh
# Slackware build script for cgmadness
@@ -12,7 +11,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
@@ -23,8 +22,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"