aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2024-02-21 23:54:53 +0800
committerXi Ruoyao <xry111@xry111.site>2024-02-23 18:13:25 +0800
commitf09a9dd319ef8b698d4bff90b975f5a0a7495de9 (patch)
treeae2dc0133c38138388da0df62383c4a5ad1ab286 /configure
parentbff1cbf2f61d9532eceaa6ebe71185f4b0902a76 (diff)
downloadgcc-f09a9dd319ef8b698d4bff90b975f5a0a7495de9.zip
gcc-f09a9dd319ef8b698d4bff90b975f5a0a7495de9.tar.gz
gcc-f09a9dd319ef8b698d4bff90b975f5a0a7495de9.tar.bz2
LoongArch: Don't falsely claim gold supported in toplevel configure
The gold linker has never been ported to LoongArch (and it seems unlikely to be ported in the future as the new architectures are focusing on lld and/or mold for fast linkers). ChangeLog: * configure.ac (ENABLE_GOLD): Remove loongarch*-*-* from target list. * configure: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 874966f..02b435c 100755
--- a/configure
+++ b/configure
@@ -3092,7 +3092,7 @@ case "${ENABLE_GOLD}" in
# Check for target supported by gold.
case "${target}" in
i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
- | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-* | loongarch*-*-*)
+ | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-*)
configdirs="$configdirs gold"
if test x${ENABLE_GOLD} = xdefault; then
default_ld=gold