public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-3804] LoongArch: Fix unintentional bash-ism in r14-3665.
@ 2023-09-08  9:51 LuluCheng
  0 siblings, 0 replies; only message in thread
From: LuluCheng @ 2023-09-08  9:51 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d07682dc2546754c3b188d97149714cfd11a6990

commit r14-3804-gd07682dc2546754c3b188d97149714cfd11a6990
Author: Yang Yujie <yangyujie@loongson.cn>
Date:   Wed Sep 6 17:57:47 2023 +0800

    LoongArch: Fix unintentional bash-ism in r14-3665.
    
    gcc/ChangeLog:
    
            * config.gcc: remove non-POSIX syntax "<<<".

Diff:
---
 gcc/config.gcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index b2fe7c7ceef6..6d4c8becd286 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -5189,7 +5189,7 @@ case "${target}" in
 				if test x${parse_state} = x"abi-base"; then
 					# Base ABI type
 					case ${component} in
-					lp64d | lp64f | lp64s) elem_tmp="ABI_BASE_$(tr a-z A-Z <<< ${component}),";;
+					lp64d | lp64f | lp64s) elem_tmp="ABI_BASE_$(echo ${component} | tr a-z A-Z),";;
 					*)
 						echo "Unknown base ABI \"${component}\" in --with-multilib-list." 1>&2
 						exit 1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-08  9:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-08  9:51 [gcc r14-3804] LoongArch: Fix unintentional bash-ism in r14-3665 LuluCheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).