0c7ecba
--- support/configure.pl.orig	2021-05-18 02:50:05.000000000 -0600
0c7ecba
+++ support/configure.pl	2021-07-06 11:22:18.754729715 -0600
0c7ecba
@@ -613,16 +613,6 @@ int main() {
0c7ecba
 ---
0c7ecba
    my $build_error;
0c7ecba
 
0c7ecba
-   # try to use gold linker unless another linker has been prescribed by the user
0c7ecba
-   unless ($^O eq "darwin" or $Config::Config{archname} =~ /^mips/ or "$CXXFLAGS $LDFLAGS" =~ /(?:^|\s)-fuse-ld[=\s]/) {
0c7ecba
-      $build_error = build_test_program($cxx_tell_version, LDFLAGS => "-fuse-ld=gold");
0c7ecba
-      if ($?) {
0c7ecba
-         # did not work out, maybe gold is missing?
0c7ecba
-         undef $build_error;
0c7ecba
-      } else {
0c7ecba
-         $LDFLAGS .= " -fuse-ld=gold";
0c7ecba
-      }
0c7ecba
-   }
0c7ecba
    $build_error //= build_test_program($cxx_tell_version);
0c7ecba
 
0c7ecba
    if ($?) {