openbsd-ports/lang/gfortran/patches/patch-gcc_config_host
steven 6f0b523996 import separate port of gfortran 4.2.1, in sync with the base compiler.
meant to be used on archs that have gcc4 in base, this doesn't require a
full gcc build from ports, and provides libgfortran as a subpackage.

idea from espie some months ago.
2010-10-10 17:39:06 +00:00

15 lines
521 B
Plaintext

$OpenBSD: patch-gcc_config_host,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
--- gcc/config.host.orig Tue Dec 5 17:06:39 2006
+++ gcc/config.host Mon Jun 14 19:23:03 2010
@@ -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"