summaryrefslogtreecommitdiff
path: root/libraries/libgusb/libgusb.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 09:21:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-25 07:04:49 +0700
commit3d02c592ec7c6123b7260a8d85363c5cf14b3673 (patch)
tree4f8696c723ea1aee2af73d04680c021d9f656230 /libraries/libgusb/libgusb.SlackBuild
parent21c0777862d0af5ce77b1a7311f5882d034a9a0e (diff)
downloadslackbuilds-3d02c592ec7c6123b7260a8d85363c5cf14b3673.tar.gz
libraries/libgusb: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libgusb/libgusb.SlackBuild')
-rw-r--r--libraries/libgusb/libgusb.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/libgusb/libgusb.SlackBuild b/libraries/libgusb/libgusb.SlackBuild
index 1f9d35d4e8..a2293dfea8 100644
--- a/libraries/libgusb/libgusb.SlackBuild
+++ b/libraries/libgusb/libgusb.SlackBuild
@@ -29,7 +29,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
@@ -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"