[v1,5/7] LoongArch Port: libgomp

Message ID 20211106084056.2506166-6-xuchenghua@loongson.cn
State Committed
Commit 34024b715068801ddf4e1a95223f9ff31f63a802
Headers
Series Add LoongArch support. |

Commit Message

Chenghua Xu Nov. 6, 2021, 8:40 a.m. UTC
  From: chenglulu <chenglulu@loongson.cn>

libgomp/

	* configure.tgt: Add LoongArch tuple.
---
 libgomp/configure.tgt | 4 ++++
 1 file changed, 4 insertions(+)
  

Comments

Xi Ruoyao Nov. 6, 2021, 9:58 a.m. UTC | #1
On Sat, 2021-11-06 at 16:40 +0800, Chenghua Xu wrote:
> From: chenglulu <chenglulu@loongson.cn>
> 
> libgomp/
> 
>         * configure.tgt: Add LoongArch tuple.

"tuple" should be "triplet".
  

Patch

diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt
index d4f1e741b5a..2cd7272fcd8 100644
--- a/libgomp/configure.tgt
+++ b/libgomp/configure.tgt
@@ -56,6 +56,10 @@  if test x$enable_linux_futex = xyes; then
 	config_path="linux/ia64 linux posix"
 	;;
 
+    loongarch*-*-linux*)
+	config_path="linux posix"
+	;;
+
     mips*-*-linux*)
 	config_path="linux/mips linux posix"
 	;;