diff options
author | Stefan Beckert <becki@web.de> | 2017-01-13 22:19:14 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-13 22:23:05 +0700 |
commit | 84a2f4099080174afae67f847404fe5834792418 (patch) | |
tree | 0f477f0228778ad0f4858b128e158c60dba2b4cf /libraries/libmodbus/libmodbus.SlackBuild | |
parent | f5f1dc56ccd8fd627c9f28b623904fdc1d4c47d6 (diff) |
libraries/libmodbus: Updated for version 3.0.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libmodbus/libmodbus.SlackBuild')
-rw-r--r-- | libraries/libmodbus/libmodbus.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/libmodbus/libmodbus.SlackBuild b/libraries/libmodbus/libmodbus.SlackBuild index dd6a39d40f489..d58e6f543082c 100644 --- a/libraries/libmodbus/libmodbus.SlackBuild +++ b/libraries/libmodbus/libmodbus.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libmodbus -# Copyright (c) 2012 Stefan Beckert, Mitwitz, Germany +# Copyright (c) 2012-2017 Stefan Beckert, Mitwitz, Germany # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -23,13 +23,13 @@ # THE SOFTWARE. PRGNAM=libmodbus -VERSION=${VERSION:-3.0.2} +VERSION=${VERSION:-3.0.6} 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 @@ -40,8 +40,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" |