commit:     841da5b1492396772efe8d80342e7f61f82b469b
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Sat May 11 16:26:28 2019 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat May 11 16:26:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=841da5b1

eclass: Add risc-v endianness information

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 eclass/toolchain-funcs.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index 27324b0ca60..2e027015c68 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2002-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: toolchain-funcs.eclass
@@ -695,6 +695,7 @@ tc-endian() {
                mips*)          echo big;;
                powerpc*le)     echo little;;
                powerpc*)       echo big;;
+               riscv*)         echo little;;
                s390*)          echo big;;
                sh*b*)          echo big;;
                sh*)            echo little;;

Reply via email to