]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: Fix unintentional bash-ism in r14-3665.
authorYang Yujie <yangyujie@loongson.cn>
Wed, 6 Sep 2023 09:57:47 +0000 (17:57 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Fri, 8 Sep 2023 09:51:13 +0000 (17:51 +0800)
gcc/ChangeLog:

* config.gcc: remove non-POSIX syntax "<<<".

gcc/config.gcc

index b2fe7c7ceef6a3b1ef272a09534cd345aae1813d..6d4c8becd286b15d5ba3515a1f92dbd40f46cde7 100644 (file)
@@ -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