libgomp: enable linux-futex on riscv64

Message ID mvmpn22s5no.fsf@suse.de
State New
Headers show
Series
  • libgomp: enable linux-futex on riscv64
Related show

Commit Message

Andreas Schwab Jan. 18, 2021, 2:04 p.m.
Regtested on riscv64-suse-linux.

libgomp/
	* configure.tgt (riscv64*-*-linux*): Add linux to config_path.
---
 libgomp/configure.tgt | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.30.0


-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Comments

will schmidt via Gcc-patches Jan. 18, 2021, 2:06 p.m. | #1
On Mon, Jan 18, 2021 at 03:04:11PM +0100, Andreas Schwab wrote:
> Regtested on riscv64-suse-linux.

> 

> libgomp/

> 	* configure.tgt (riscv64*-*-linux*): Add linux to config_path.


Ok, thanks.

> --- a/libgomp/configure.tgt

> +++ b/libgomp/configure.tgt

> @@ -64,6 +64,10 @@ if test x$enable_linux_futex = xyes; then

>  	config_path="linux/powerpc linux posix"

>  	;;

>  

> +    riscv64*-*-linux*)

> +	config_path="linux posix"

> +	;;

> +

>      s390*-*-linux*)

>  	config_path="linux/s390 linux posix"

>  	;;

> -- 

> 2.30.0

> 

> 

> -- 

> Andreas Schwab, SUSE Labs, schwab@suse.de

> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7

> "And now for something completely different."


	Jakub

Patch

diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt
index be06be0e52b..fe2bf1dac51 100644
--- a/libgomp/configure.tgt
+++ b/libgomp/configure.tgt
@@ -64,6 +64,10 @@  if test x$enable_linux_futex = xyes; then
 	config_path="linux/powerpc linux posix"
 	;;
 
+    riscv64*-*-linux*)
+	config_path="linux posix"
+	;;
+
     s390*-*-linux*)
 	config_path="linux/s390 linux posix"
 	;;