]> git.proxmox.com Git - mirror_qemu.git/blobdiff - roms/edk2-funcs.sh
Merge tag 'qemu-openbios-20230307' of https://github.com/mcayland/qemu into staging
[mirror_qemu.git] / roms / edk2-funcs.sh
index 3f4485b201f1f6f8cff47a9933da569e7fde07e5..cd6e4f2c82d2b346cdb7b3199bcae426832f967e 100644 (file)
@@ -112,6 +112,9 @@ qemu_edk2_get_cross_prefix()
      ( [ "$gcc_arch" == i686 ] && [ "$host_arch" == x86_64 ] ); then
     # no cross-compiler needed
     :
+  elif ( [ -e /etc/debian_version ] && [ "$gcc_arch" == arm ] ); then
+    # force soft-float cross-compiler on Debian
+    printf 'arm-linux-gnueabi-'
   else
     printf '%s-linux-gnu-\n' "$gcc_arch"
   fi