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