aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authorMaya Rashish <coypu@sdf.org>2018-11-26 21:21:16 +0000
committerJeff Law <law@gcc.gnu.org>2018-11-26 14:21:16 -0700
commit3cf50fcdac65b4174270915d5024fced130b7133 (patch)
tree40169ca5fd74692cd14f213348f4613d3a25e4ce /gcc/config.host
parentf4a14e09eef775f7fd1ff4dc7027c9237d386afe (diff)
downloadgcc-3cf50fcdac65b4174270915d5024fced130b7133.zip
gcc-3cf50fcdac65b4174270915d5024fced130b7133.tar.gz
gcc-3cf50fcdac65b4174270915d5024fced130b7133.tar.bz2
re PR preprocessor/58397 (Please add host_hooks for NetBSD to make precompiled headers work)
PR target/58397 * config.host (*-*-netbsd*): Use x-netbsd and host-netbsd.o. * config/x-netbsd: New file. * config/host-netbsd: New file. From-SVN: r266484
Diffstat (limited to 'gcc/config.host')
-rw-r--r--gcc/config.host4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config.host b/gcc/config.host
index c65569d..970d4d5 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -282,6 +282,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