msb/deps/libunique3/config.guess-add-aarch64-support.patch
mara 1748ab5eab
added support for aarch64 architecture for assembly in slarm64
This platform is not officially supported by MSB team.

Fix #32.

Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
2020-05-17 12:08:35 +07:00

22 lines
693 B
Diff

--- a/config.guess 2020-05-16 21:36:37.396768007 +0000
+++ b/config.guess 2020-05-16 21:47:41.648176596 +0000
@@ -162,6 +162,9 @@
sh3eb) machine=sh-unknown ;;
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
esac
+ case "${UNAME_MACHINE_ARCH}" in
+ aarch64) machine=${UNAME_MACHINE_ARCH}-unknown ;;
+ esac
# The Operating System including object format, if it has switched
# to ELF recently, or will in the future.
case "${UNAME_MACHINE_ARCH}" in
@@ -831,6 +834,9 @@
arm*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
+ aarch64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
cris:Linux:*:*)
echo cris-axis-linux-gnu
exit ;;