aboutsummaryrefslogtreecommitdiff
path: root/system/collectd/collectd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/collectd/collectd.SlackBuild')
-rw-r--r--system/collectd/collectd.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/collectd/collectd.SlackBuild b/system/collectd/collectd.SlackBuild
index bb766599fbdbb..5cc166cddf196 100644
--- a/system/collectd/collectd.SlackBuild
+++ b/system/collectd/collectd.SlackBuild
@@ -10,6 +10,8 @@
# Modified by the SlackBuilds.org project
+# Copyright (c) 2017-2018, Modified by: Ricardo J. Barberis <ricardo.barberis@gmail.com>
+
PRGNAM=collectd
VERSION=${VERSION:-5.5.0}
BUILD=${BUILD:-1}
@@ -17,7 +19,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
@@ -28,8 +30,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"