diff mbox series

libsanitizer: adjust triplet pattern to allow loongarch64-linux* targets.

Message ID 20231116080113.1250131-1-yangyujie@loongson.cn
State New
Headers show
Series libsanitizer: adjust triplet pattern to allow loongarch64-linux* targets. | expand

Commit Message

Yang Yujie Nov. 16, 2023, 8:01 a.m. UTC
libsanitizer/ChangeLog:

	* configure.tgt: allow loongarch64-linux-*.
---
 libsanitizer/configure.tgt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jakub Jelinek Nov. 16, 2023, 8:11 a.m. UTC | #1
On Thu, Nov 16, 2023 at 04:01:13PM +0800, Yang Yujie wrote:
> libsanitizer/ChangeLog:
> 
> 	* configure.tgt: allow loongarch64-linux-*.

${target} in there shouldn't be what user specified, but what config.sub
canonicalized it to.
And
./config.sub x86_64-linux; ./config.sub loongarch64-linux
x86_64-pc-linux-gnu
loongarch64-unknown-linux-gnu
so I really don't see why you want to change it.

>  libsanitizer/configure.tgt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
> index d24566a2343..5af524cb271 100644
> --- a/libsanitizer/configure.tgt
> +++ b/libsanitizer/configure.tgt
> @@ -73,7 +73,7 @@ case "${target}" in
>  	;;
>    riscv64-*-linux*)
>  	;;
> -  loongarch64-*-linux*)
> +  loongarch64-*linux*)
>  	;;
>    *)
>  	UNSUPPORTED=1
> -- 
> 2.42.1

	Jakub
diff mbox series

Patch

diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
index d24566a2343..5af524cb271 100644
--- a/libsanitizer/configure.tgt
+++ b/libsanitizer/configure.tgt
@@ -73,7 +73,7 @@  case "${target}" in
 	;;
   riscv64-*-linux*)
 	;;
-  loongarch64-*-linux*)
+  loongarch64-*linux*)
 	;;
   *)
 	UNSUPPORTED=1