development/energia: Update ARCH handling.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-03-22 23:35:57 +13:00 committed by Willy Sudiarto Raharjo
parent ed605c02b3
commit f65efef185
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -50,7 +50,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
if [ "$ARCH" = "i586" ]; then
LIBDIRSUFFIX=""
SRCSUFFIX="-linux"
elif [ "$ARCH" = "i686" ]; then