libraries/xview: Fix build with ARCH=i686.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2018-02-27 22:40:07 +00:00 committed by Willy Sudiarto Raharjo
parent 1acd812509
commit 5ea0028298
1 changed files with 3 additions and 3 deletions

View File

@ -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