summaryrefslogtreecommitdiff
path: root/python/python-clamd
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2018-03-25 07:42:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-31 07:41:37 +0700
commit8af307afec30ade2e976252bb4f17cd5d2918917 (patch)
treed0a5ddb06cd571a81c5aea746bd6d84b77e838fc /python/python-clamd
parent026031db7eb153a6e29f8d7bf1542e5b56ea2621 (diff)
downloadslackbuilds-8af307afec30ade2e976252bb4f17cd5d2918917.tar.gz
python/python-clamd: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-clamd')
-rw-r--r--python/python-clamd/python-clamd.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/python-clamd/python-clamd.SlackBuild b/python/python-clamd/python-clamd.SlackBuild
index be47efae6c..2aadfb7e91 100644
--- a/python/python-clamd/python-clamd.SlackBuild
+++ b/python/python-clamd/python-clamd.SlackBuild
@@ -30,7 +30,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
@@ -41,8 +41,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"