openbsd-ports/lang/gcc/4.2/patches/patch-gcc_config_host
2007-03-20 10:48:52 +00:00

15 lines
516 B
Plaintext

$OpenBSD: patch-gcc_config_host,v 1.5 2007/03/20 10:48:52 espie Exp $
--- gcc/config.host.orig Tue Dec 5 17:06:39 2006
+++ gcc/config.host Sun Mar 18 23:58:43 2007
@@ -201,6 +201,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"