summaryrefslogtreecommitdiff
path: root/system/gcc/330-gccgo-link-to-ucontext.patch
blob: 63446f23ca0cc63e7794ae21349fa7e8d3be1e4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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
@@ -52324,7 +52324,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} \