$NetBSD: patch-gcc_config.host,v 1.1 2018/11/23 19:28:30 abs Exp $ Add aarch64*-*-netbsd* and generic *-*-netbsd* entries --- gcc/config.host.orig 2017-01-09 21:01:26.000000000 +0000 +++ gcc/config.host @@ -99,7 +99,7 @@ case ${host} in esac case ${host} in - aarch64*-*-freebsd* | aarch64*-*-linux*) + aarch64*-*-freebsd* | aarch64*-*-linux* | aarch64*-*-netbsd*) case ${target} in aarch64*-*-*) host_extra_gcc_objs="driver-aarch64.o" @@ -276,6 +276,10 @@ case ${host} in out_host_hook_obj=host-openbsd.o host_xmake_file="${host_xmake_file} x-openbsd" ;; + *-*-netbsd*) + out_host_hook_obj=host-netbsd.o + host_xmake_file="${host_xmake_file} x-netbsd" + ;; ia64-*-hpux*) use_long_long_for_widest_fast_int=yes out_host_hook_obj=host-hpux.o