openbsd-ports/lang/gfortran/patches/patch-gcc_config_t-openbsd
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

14 lines
520 B
Plaintext

$OpenBSD: patch-gcc_config_t-openbsd,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
--- gcc/config/t-openbsd.orig Tue Sep 23 20:56:00 2003
+++ gcc/config/t-openbsd Sat Apr 11 14:22:32 2009
@@ -1,2 +1,8 @@
# We don't need GCC's own include files.
-USER_H =
+USER_H = $(EXTRA_HEADERS)
+# Use unwind-dw2-fde-glibc
+LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-openbsd.c \
+ $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
+LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c \
+ unwind-dw2-fde-glibc.c
+