From 8860338049b0a43377c2ea7fa05a47766b3b21aa Mon Sep 17 00:00:00 2001 From: Nicolas Ojeda Bar Date: Tue, 8 Nov 2016 23:56:50 +0100 Subject: [PATCH 5/9] Adapt config.guess for RISC-V --- config/gnu/config.guess | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/gnu/config.guess b/config/gnu/config.guess index b79252d6b..8335398b2 100755 --- a/config/gnu/config.guess +++ b/config/gnu/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2013 Free Software Foundation, Inc. -timestamp='2013-06-10' +timestamp='2016-10-23' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -1001,6 +1001,9 @@ EOF ppcle:Linux:*:*) echo powerpcle-unknown-linux-${LIBC} exit ;; + riscv*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux + exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; -- 2.13.1