openbsd-ports/lang/gcc/4.7/patches/patch-gcc_config_host
pascal f2b393605c Import gcc 4.7.
ok espie@
2012-04-23 15:56:40 +00:00

15 lines
521 B
Plaintext

$OpenBSD: patch-gcc_config_host,v 1.1.1.1 2012/04/23 15:56:41 pascal Exp $
--- gcc/config.host.orig Tue Oct 18 16:14:14 2011
+++ gcc/config.host Mon Apr 2 16:38:17 2012
@@ -292,6 +292,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"