pkgsrc/cross/ppc-morphos-gcc-9/patches/patch-libgcc_crtstuff.c
js c07d66d096 Import cross/ppc-morphos-gcc-9 from wip
GCC 9 cross-compiler for MorphOS.
2020-04-14 22:02:21 +00:00

13 lines
397 B
C

$NetBSD: patch-libgcc_crtstuff.c,v 1.1 2020/04/14 22:02:21 js Exp $
--- libgcc/crtstuff.c.orig 2020-02-09 13:44:00.000000000 +0000
+++ libgcc/crtstuff.c
@@ -156,7 +156,7 @@ call_ ## FUNC (void) \
#endif
#ifdef __MORPHOS__
-static const char __EH_FRAME_BEGIN__[];
+extern const char __EH_FRAME_BEGIN__[];
#endif
/* We do not want to add the weak attribute to the declarations of these