From 42ccb076558581563ddaa56f9849dfc5f1033b41 Mon Sep 17 00:00:00 2001 From: skrll Date: Thu, 9 Apr 2020 16:12:28 +0000 Subject: [PATCH] Fix aarch64 binutils tools build --- external/gpl3/binutils/dist/ld/configure.tgt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/external/gpl3/binutils/dist/ld/configure.tgt b/external/gpl3/binutils/dist/ld/configure.tgt index c1081b2b4cd2..ca19b02c265a 100644 --- a/external/gpl3/binutils/dist/ld/configure.tgt +++ b/external/gpl3/binutils/dist/ld/configure.tgt @@ -75,11 +75,14 @@ aarch64_be-*-linux*) targ_emul=aarch64linuxb ;; aarch64-*-linux*) targ_emul=aarch64linux targ_extra_libpath="aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi" - targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" ;; + targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" + ;; aarch64_be-*-netbsd*) targ_emul=aarch64nbsdb - targ_extra_emuls="aarch64nbsd aarch64elfb aarch64elf armelfb_nbsd_eabihf armelf_nbsd_eabihf armelfb_nbsd_eabi armelf_nbsd_eabi armelfb_nbsd armelf_nbsd armelf armelfb" ;; + targ_extra_emuls="aarch64nbsd aarch64elfb aarch64elf armelfb_nbsd_eabihf armelf_nbsd_eabihf armelfb_nbsd_eabi armelf_nbsd_eabi armelfb_nbsd armelf_nbsd armelf armelfb" + ;; aarch64-*-netbsd*) targ_emul=aarch64nbsd - targ_extra_emuls="aarch64nbsdb aarch64elf aarch64elfb armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armelfb" ;; + targ_extra_emuls="aarch64nbsdb aarch64elf aarch64elfb armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armelfb" + ;; alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) targ_emul=elf64alpha_fbsd targ_extra_emuls="elf64alpha alpha"