From ca66bc1c889952361aa4b3358abf6ed26014bc79 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 5 Oct 2016 18:30:42 +0100 Subject: [PATCH] Add multilib support for RISC-V. (Implemented by Stefan O'Rear) No rebuild is necessary. --- gmp-mparam.h | 2 ++ gmp.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gmp-mparam.h b/gmp-mparam.h index b22136f..46b71a9 100644 --- a/gmp-mparam.h +++ b/gmp-mparam.h @@ -75,6 +75,8 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #include "gmp-mparam-mipsel.h" #elif defined(__mips) #include "gmp-mparam-mips.h" +#elif defined(__riscv64) +#include "gmp-mparam-riscv64.h" #else #error "The gmp-devel package is not usable with the architecture." #endif diff --git a/gmp.h b/gmp.h index 9d9f0a8..cddc111 100644 --- a/gmp.h +++ b/gmp.h @@ -75,6 +75,8 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #include "gmp-mipsel.h" #elif defined(__mips) #include "gmp-mips.h" +#elif defined(__riscv64) +#include "gmp-riscv64.h" #else #error "The gmp-devel package is not usable with the architecture." #endif