summaryrefslogtreecommitdiffstats
path: root/system/system76-power/system76-power.SlackBuild
diff options
context:
space:
mode:
author Erich Ritz <erich.public@protonmail.com>2022-03-23 10:48:11 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-26 01:20:15 +0700
commit55b892b8f0f3c9aaa71e69399946caa0d7de8668 (patch)
tree5a3a54520e40338f5daaf78c0fc4dddac183ae2f /system/system76-power/system76-power.SlackBuild
parent3fe00b737ff885eed487a8ef6f4ba41431bea902 (diff)
downloadslackbuilds-55b892b8f0f3c9aaa71e69399946caa0d7de8668.tar.gz
slackbuilds-55b892b8f0f3c9aaa71e69399946caa0d7de8668.tar.xz
system/system76-power: Mark 32bit as unsupported.
Fails to compile on 32-bit, and upstream does not support 32-bit: https://github.com/pop-os/system76-power/issues/322 We have no expectation of users running a 32-bit OS, so we only care about 64-bit architectures. Signed-off-by: Erich Ritz <erich.public@protonmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'system/system76-power/system76-power.SlackBuild')
-rw-r--r--system/system76-power/system76-power.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/system76-power/system76-power.SlackBuild b/system/system76-power/system76-power.SlackBuild
index 7ce0ed7226..391536fba8 100644
--- a/system/system76-power/system76-power.SlackBuild
+++ b/system/system76-power/system76-power.SlackBuild
@@ -44,14 +44,14 @@ if [ -z "$ARCH" ]; then
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
-
- if [ "$ARCH" = "i586" ]; then
- if rustc -Vv | grep host | grep i686 > /dev/null ; then
- ARCH=i686
- fi
- fi
fi
+case "$ARCH" in
+ x86_64) ;;
+ arm*) ;;
+ *) echo "Unsupported ARCH '$ARCH'"; exit 1 ;;
+esac
+
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.