summaryrefslogblamecommitdiff
path: root/legacy/gcc6/330-gccgo-link-to-ucontext.patch
blob: 8aa60ca548bea2f10d05357b876d62a5b9134ee8 (plain) (tree)
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
@@ -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} \