Add multilib support for RISC-V.
(Implemented by Stefan O'Rear) No rebuild is necessary.
This commit is contained in:
parent
2b2ac31a84
commit
ca66bc1c88
@ -75,6 +75,8 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
|
|||||||
#include "gmp-mparam-mipsel.h"
|
#include "gmp-mparam-mipsel.h"
|
||||||
#elif defined(__mips)
|
#elif defined(__mips)
|
||||||
#include "gmp-mparam-mips.h"
|
#include "gmp-mparam-mips.h"
|
||||||
|
#elif defined(__riscv64)
|
||||||
|
#include "gmp-mparam-riscv64.h"
|
||||||
#else
|
#else
|
||||||
#error "The gmp-devel package is not usable with the architecture."
|
#error "The gmp-devel package is not usable with the architecture."
|
||||||
#endif
|
#endif
|
||||||
|
2
gmp.h
2
gmp.h
@ -75,6 +75,8 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
|
|||||||
#include "gmp-mipsel.h"
|
#include "gmp-mipsel.h"
|
||||||
#elif defined(__mips)
|
#elif defined(__mips)
|
||||||
#include "gmp-mips.h"
|
#include "gmp-mips.h"
|
||||||
|
#elif defined(__riscv64)
|
||||||
|
#include "gmp-riscv64.h"
|
||||||
#else
|
#else
|
||||||
#error "The gmp-devel package is not usable with the architecture."
|
#error "The gmp-devel package is not usable with the architecture."
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user