openbsd-ports/lang/gcc/4.6/patches/patch-gcc_config_t-openbsd
2011-11-14 13:00:55 +00:00

13 lines
518 B
Plaintext

$OpenBSD: patch-gcc_config_t-openbsd,v 1.1.1.1 2011/11/14 13:00:57 pascal Exp $
--- gcc/config/t-openbsd.orig Sat Nov 12 13:45:14 2011
+++ gcc/config/t-openbsd Sat Nov 12 13:45:45 2011
@@ -1,2 +1,7 @@
# 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