openbsd-ports/lang/gcc/4.1/patches/patch-gcc_config_host

15 lines
453 B
Plaintext

$OpenBSD: patch-gcc_config_host,v 1.3 2005/05/21 10:34:43 espie Exp $
--- gcc/config.host.orig Wed Apr 6 10:41:33 2005
+++ gcc/config.host Mon May 16 17:43:10 2005
@@ -191,6 +191,10 @@ case ${host} in
out_host_hook_obj=host-solaris.o
host_xmake_file=x-solaris
;;
+ *-*-openbsd*)
+ out_host_hook_obj=host-openbsd.o
+ host_xmake_file=x-openbsd
+ ;;
*-*-linux*)
out_host_hook_obj=host-linux.o
host_xmake_file=x-linux