openbsd-ports/lang/gcc/4.2/patches/patch-gcc_config_host
espie ced95bccdd move to gcc 4.2.4, with a lot of work from kurt@ as well.
Doesn't build on alpha yet, but should be on the way...
2009-04-16 18:36:48 +00:00

15 lines
516 B
Plaintext

$OpenBSD: patch-gcc_config_host,v 1.6 2009/04/16 18:36:48 espie Exp $
--- gcc/config.host.orig Sat Sep 1 17:28:30 2007
+++ gcc/config.host Tue Apr 7 19:38:59 2009
@@ -200,6 +200,10 @@ case ${host} in
out_host_hook_obj=host-solaris.o
host_xmake_file="${host_xmake_file} x-solaris"
;;
+ *-*-openbsd*)
+ out_host_hook_obj=host-openbsd.o
+ host_xmake_file="${host_xmake_file} x-openbsd"
+ ;;
*-*-linux*)
out_host_hook_obj=host-linux.o
host_xmake_file="${host_xmake_file} x-linux"