pmaports/cross/gcc-armhf/0037-gcc-go-link-to-libucontext.patch

26 lines
761 B
Diff
Raw Normal View History

From 9e7be29ad618d48740f42c98ba93e8367341b63f Mon Sep 17 00:00:00 2001
2020-09-04 19:21:25 +00:00
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Mon, 31 Aug 2020 08:59:40 +0200
Subject: [PATCH] gcc-go: link to libucontext
2020-09-04 19:21:25 +00:00
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index 426949aa91c..f97db1ef569 100644
2020-09-04 19:21:25 +00:00
--- a/Makefile.in
+++ b/Makefile.in
@@ -50331,7 +50331,7 @@ configure-target-libgo:
2020-09-04 19:21:25 +00:00
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.34.1