ports/devel/gas/patches/patch-gas_configure_tgt

19 lines
651 B
Text

Index: gas/configure.tgt
--- gas/configure.tgt.orig
+++ gas/configure.tgt
@@ -127,6 +127,7 @@ case ${generic_target} in
case ${cpu}-${os} in
aarch64*-linux-gnu_ilp32) arch=aarch64:32 ;;
esac ;;
+ aarch64-*-openbsd*) fmt=elf;;
alpha-*-*vms*) fmt=evax ;;
alpha-*-osf*) fmt=ecoff ;;
@@ -153,6 +154,7 @@ case ${generic_target} in
arm-*-uclinux*) fmt=elf em=linux ;;
arm-*-nacl*) fmt=elf em=nacl ;;
arm-*-netbsdelf*) fmt=elf em=nbsd ;;
+ arm-*-openbsd*) fmt=elf em=nbsd ;;
arm-*-nto*) fmt=elf ;;
arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*)
fmt=coff em=wince-pe ;;