X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=roms%2Fedk2-funcs.sh;h=cd6e4f2c82d2b346cdb7b3199bcae426832f967e;hb=ee59483267de29056b5b2ee2421ef3844e5c9932;hp=3f4485b201f1f6f8cff47a9933da569e7fde07e5;hpb=ea0ec714d3109e0d0523b9dacb38030e4cb142a8;p=mirror_qemu.git diff --git a/roms/edk2-funcs.sh b/roms/edk2-funcs.sh index 3f4485b201..cd6e4f2c82 100644 --- a/roms/edk2-funcs.sh +++ b/roms/edk2-funcs.sh @@ -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