--- ocaml-5.0.0/configure	2022-12-15 14:27:03.000000000 +0000
+++ ocaml-5.0.0/configure.new	2023-01-22 19:19:36.269574904 +0000
@@ -7757,9 +7757,6 @@
       case $lt_cv_prog_gnu_ld in
       yes*)
         case $host in
-        i?86-*-solaris*|x86_64-*-solaris*)
-          LD="${LD-ld} -m elf_x86_64"
-          ;;
         sparc*-*-solaris*)
           LD="${LD-ld} -m elf64_sparc"
           ;;