summaryrefslogtreecommitdiff
path: root/user/openjdk7/gcc-330-gccgo-link-to-ucontext.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/openjdk7/gcc-330-gccgo-link-to-ucontext.patch')
-rw-r--r--user/openjdk7/gcc-330-gccgo-link-to-ucontext.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/openjdk7/gcc-330-gccgo-link-to-ucontext.patch b/user/openjdk7/gcc-330-gccgo-link-to-ucontext.patch
new file mode 100644
index 000000000..8aa60ca54
--- /dev/null
+++ b/user/openjdk7/gcc-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} \