diff options
Diffstat (limited to 'lang/gcc5/patches/patch-libgcc_crtstuff.c')
-rw-r--r-- | lang/gcc5/patches/patch-libgcc_crtstuff.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/gcc5/patches/patch-libgcc_crtstuff.c b/lang/gcc5/patches/patch-libgcc_crtstuff.c new file mode 100644 index 00000000000..2fa4066af9e --- /dev/null +++ b/lang/gcc5/patches/patch-libgcc_crtstuff.c @@ -0,0 +1,14 @@ +$NetBSD: patch-libgcc_crtstuff.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $ + +--- libgcc/crtstuff.c.orig 2014-09-22 00:49:01.000000000 +0000 ++++ libgcc/crtstuff.c +@@ -81,7 +81,8 @@ call_ ## FUNC (void) \ + #endif + + #if defined(TARGET_DL_ITERATE_PHDR) && \ +- (defined(__DragonFly__) || defined(__FreeBSD__)) ++ (defined(__DragonFly__) || defined(__FreeBSD__) || \ ++ defined(__NetBSD__) || defined(__OpenBSD__)) + #define BSD_DL_ITERATE_PHDR_AVAILABLE + #endif + |