mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-30 10:01:37 +02:00
16 lines
536 B
Diff
16 lines
536 B
Diff
diff --git a/hscript/meta.cc b/hscript/meta.cc
|
|
index d79f3f5..fe8931d 100644
|
|
--- a/hscript/meta.cc
|
|
+++ b/hscript/meta.cc
|
|
@@ -722,6 +722,10 @@ const std::string my_arch(const Horizon::Script *script) {
|
|
return "pmmx";
|
|
# elif defined(__x86_64__)
|
|
return "x86_64";
|
|
+# elif defined(__mips64) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
|
+ return "mips64";
|
|
+# elif defined(__mips64) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
|
+ return "mips64le";
|
|
# else
|
|
# error Unknown architecture.
|
|
# endif
|