43 lines
1006 B
Diff
43 lines
1006 B
Diff
From 7f4e9eb63a2103abd74c4e577311a0262c86c1f3 Mon Sep 17 00:00:00 2001
|
|
From: David Abdurachmanov <davidlt@rivosinc.com>
|
|
Date: Wed, 3 Aug 2022 18:56:00 +0300
|
|
Subject: [PATCH] Set target_plugin for riscv
|
|
|
|
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
|
|
---
|
|
configure | 3 +++
|
|
configure.ac | 3 +++
|
|
2 files changed, 6 insertions(+)
|
|
|
|
diff --git a/configure b/configure
|
|
index 10dd92e..5f2e351 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -17802,6 +17802,9 @@ case ${target} in
|
|
powerpc*-*-*)
|
|
target_plugin="powerpc.annobin.lo"
|
|
;;
|
|
+ riscv*-*-*)
|
|
+ target_plugin="riscv.annobin.lo"
|
|
+ ;;
|
|
*86-*-*)
|
|
target_plugin="i686.annobin.lo"
|
|
;;
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 49771b4..bbd142e 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -33,6 +33,9 @@ case ${target} in
|
|
powerpc*-*-*)
|
|
target_plugin="powerpc.annobin.lo"
|
|
;;
|
|
+ riscv*-*-*)
|
|
+ target_plugin="riscv.annobin.lo"
|
|
+ ;;
|
|
*86-*-*)
|
|
target_plugin="i686.annobin.lo"
|
|
;;
|
|
--
|
|
2.35.1
|
|
|