void-packages/srcpkgs/kore/patches/platform.patch

12 lines
297 B
Diff

--- a/misc/linux-platform.sh 2020-09-02 14:26:51.393112635 +0200
+++ b/misc/linux-platform.sh 2020-09-02 14:28:26.281114976 +0200
@@ -2,7 +2,7 @@
#
# Linux specific defines and system call maps.
-PLATFORM=$(uname -m)
+PLATFORM=${XBPS_TARGET_MACHINE}
BASE=$(dirname $0)
case "$PLATFORM" in