openbsd-ports/lang/gcc/4.6/patches/patch-gcc_config_host
pascal 2e3d081bf6 - PCH support using kurt@'s implementation does work, if you actually enable it
by not making a stupid typo.  From kurt@ (thanks).
- respect version of liblto_plugin
- add %%PIC%% in PLIST-go
2011-11-20 11:10:36 +00:00

15 lines
517 B
Plaintext

$OpenBSD: patch-gcc_config_host,v 1.2 2011/11/20 11:10:36 pascal Exp $
--- gcc/config.host.orig Tue Feb 15 10:49:14 2011
+++ gcc/config.host Sun Nov 20 02:07:58 2011
@@ -268,6 +268,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"