|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# Filename: package/.../musl/pkg/gcc/0040-gcc-go-link-to-libucontext.patch
|
|
# Copyright (C) 2020 The OpenSDE Project
|
|
#
|
|
# More information can be found in the files COPYING and README.
|
|
#
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
# of the GNU General Public License as published by the Free Software
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
# version.
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
From ead76eced040b588f9374646a188ba21abab2049 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} \
|