summaryrefslogtreecommitdiff
path: root/libraries/libmodbus/libmodbus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmodbus/libmodbus.SlackBuild')
-rw-r--r--libraries/libmodbus/libmodbus.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/libmodbus/libmodbus.SlackBuild b/libraries/libmodbus/libmodbus.SlackBuild
index dd6a39d40f..d58e6f5430 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"