summaryrefslogtreecommitdiff
path: root/academic/extrema/extrema.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/extrema/extrema.SlackBuild')
-rw-r--r--academic/extrema/extrema.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/academic/extrema/extrema.SlackBuild b/academic/extrema/extrema.SlackBuild
index 78c06f7595..d13f7d00a4 100644
--- a/academic/extrema/extrema.SlackBuild
+++ b/academic/extrema/extrema.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for extrema
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# 2017 - Dhaby Xiloj <slack.dhabyx@gmail.com>
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
# All rights reserved.
@@ -31,7 +32,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
@@ -42,8 +43,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"