summaryrefslogtreecommitdiff
path: root/repo/gcc/0037-gcc-go-link-to-libucontext.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/gcc/0037-gcc-go-link-to-libucontext.patch
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/gcc/0037-gcc-go-link-to-libucontext.patch')
-rw-r--r--repo/gcc/0037-gcc-go-link-to-libucontext.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/gcc/0037-gcc-go-link-to-libucontext.patch b/repo/gcc/0037-gcc-go-link-to-libucontext.patch
new file mode 100644
index 0000000..b81d8bf
--- /dev/null
+++ b/repo/gcc/0037-gcc-go-link-to-libucontext.patch
@@ -0,0 +1,25 @@
+From d42de24395e4f07cf6412896d4cd8c7f83a9b875 Mon Sep 17 00:00:00 2001
+From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
+Date: Mon, 31 Aug 2020 08:59:40 +0200
+Subject: [PATCH] gcc-go: link to libucontext
+
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 63627db68cf..c7f1f84d683 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -48823,7 +48823,7 @@ configure-target-libgo:
+ 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} \
+--
+2.31.1
+