From 57b3454125ff268fb900c0d60b267535857bcd93 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 2 Jul 2022 18:51:15 -0500 Subject: legacy/gcc6: add buildable patches --- legacy/gcc6/330-gccgo-link-to-ucontext.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 legacy/gcc6/330-gccgo-link-to-ucontext.patch (limited to 'legacy/gcc6/330-gccgo-link-to-ucontext.patch') diff --git a/legacy/gcc6/330-gccgo-link-to-ucontext.patch b/legacy/gcc6/330-gccgo-link-to-ucontext.patch new file mode 100644 index 000000000..8aa60ca54 --- /dev/null +++ b/legacy/gcc6/330-gccgo-link-to-ucontext.patch @@ -0,0 +1,11 @@ +--- gcc-6.4.0/Makefile.in.old 2018-06-21 22:16:35.167781541 -0500 ++++ gcc-6.4.0/Makefile.in 2018-06-22 00:36:13.849486086 -0500 +@@ -41332,7 +41332,7 @@ + esac; \ + module_srcdir=libgo; \ + rm -f no-such-file || : ; \ +- CONFIG_SITE=no-such-file $(SHELL) \ ++ CONFIG_SITE=no-such-file LIBS="-lucontext $$LIBS" $(SHELL) \ + $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ -- cgit v1.2.3-60-g2f50