diff options
Diffstat (limited to 'academic/glpk/glpk.SlackBuild')
-rw-r--r-- | academic/glpk/glpk.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/academic/glpk/glpk.SlackBuild b/academic/glpk/glpk.SlackBuild index d85d343e8344c..140eae9aa1f44 100644 --- a/academic/glpk/glpk.SlackBuild +++ b/academic/glpk/glpk.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for glpk # Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# 2017 - Dhaby Xiloj <slack.dhabyx@gmail.com> # Copyright 2011, 2013 Chris Abela, Malta # All rights reserved. @@ -24,13 +25,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=glpk -VERSION=${VERSION:-4.55} +VERSION=${VERSION:-4.61} BUILD=${BUILD:-1} 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 @@ -41,8 +42,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" |