https://github.com/gentoo/gentoo/pull/33554
ARC is bi-endian. Assumes ARCH=arc. No plans to add profiles or
keywords to official tree.
Signed-off-by: Matoro Mahri <mat...@users.noreply.github.com>
---
eclass/toolchain-funcs.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/toolchain-funcs.eclass
b/eclass/toolchain-funcs.eclass
index 8398ee004a7d..4559894ca04a 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -648,6 +648,7 @@ tc-ninja_magic_to_arch() {
case ${host} in
aarch64*) echo arm64;;
alpha*) echo alpha;;
+ arc*) echo arc;;
arm*) echo arm;;
avr*) _tc_echo_kernel_alias avr32 avr;;
bfin*) _tc_echo_kernel_alias blackfin bfin;;
@@ -736,6 +737,8 @@ tc-endian() {
aarch64*be) echo big;;
aarch64) echo little;;
alpha*) echo little;;
+ arc*b*) echo big;;
+ arc*) echo little;;
arm*b*) echo big;;
arm*) echo little;;
cris*) echo little;;
--
2.42.0