diff options
Diffstat (limited to 'lang/gcc49/patches/patch-gcc_config.host')
-rw-r--r-- | lang/gcc49/patches/patch-gcc_config.host | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/gcc49/patches/patch-gcc_config.host b/lang/gcc49/patches/patch-gcc_config.host new file mode 100644 index 00000000000..dc59c7c0965 --- /dev/null +++ b/lang/gcc49/patches/patch-gcc_config.host @@ -0,0 +1,18 @@ +$NetBSD: patch-gcc_config.host,v 1.1 2015/08/05 20:17:51 martin Exp $ + +Add host hooks for NetBSD - needed for working precompiled headers. +http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397 + +--- gcc/config.host.orig 2013-01-10 21:38:27.000000000 +0100 ++++ gcc/config.host 2013-09-10 20:25:36.000000000 +0200 +@@ -271,6 +271,10 @@ + 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 |