Index: ld/emulparams/elf_i386.sh =================================================================== --- ld/emulparams/elf_i386.sh.orig 2014-10-14 17:39:02.000000000 +0200 +++ ld/emulparams/elf_i386.sh 2014-10-14 17:39:44.000000000 +0200 @@ -23,6 +23,10 @@ case "$target" in LIBPATH_SUFFIX=32 LIBPATH_SUFFIX_SKIP=64 ;; + *64*) + LIBPATH_SUFFIX=64 + LIBPATH_SUFFIX_SKIP=32 + ;; esac ;; esac