diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-02-27 22:40:07 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-03 08:42:07 +0700 |
commit | 5ea002829819cc43b52fec6d0ee448d36829df11 (patch) | |
tree | c3ecdbdde30f6671e9fa978e27ca57972b754bce /libraries | |
parent | 1acd812509995d34a82e40e1842061176203a6a8 (diff) | |
download | slackbuilds-5ea002829819cc43b52fec6d0ee448d36829df11.tar.gz |
libraries/xview: Fix build with ARCH=i686.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/xview/xview.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/xview/xview.SlackBuild b/libraries/xview/xview.SlackBuild index 6fdd7faf17..e3a5c4ab5c 100644 --- a/libraries/xview/xview.SlackBuild +++ b/libraries/xview/xview.SlackBuild @@ -29,14 +29,14 @@ 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 fi -if [ "$ARCH" != "i486" ]; then - echo 'Currently only i486 is supported!' +if [ "$ARCH" != "i586" ] && [ "$ARCH" != "i686" ]; then + echo "$ARCH is not supported." exit 1 fi |