diff mbox

[1/3] go: define a hidden boolean to specify if CGO linking is supported

Message ID 1467794070-44443-1-git-send-email-Vincent.Riera@imgtec.com
State Accepted
Headers show

Commit Message

Vicente Olivert Riera July 6, 2016, 8:34 a.m. UTC
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/go/Config.in.host | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Thomas Petazzoni July 6, 2016, 7:32 p.m. UTC | #1
Hello,

On Wed, 6 Jul 2016 09:34:28 +0100, Vicente Olivert Riera wrote:
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
>  package/go/Config.in.host | 8 ++++++++
>  1 file changed, 8 insertions(+)

All patches applied. I've added autobuilder failure references to
patches 2/3 and 3/3, as discussed on IRC.

Thanks!

Thomas
diff mbox

Patch

diff --git a/package/go/Config.in.host b/package/go/Config.in.host
index e1b13c0..d6d35dc 100644
--- a/package/go/Config.in.host
+++ b/package/go/Config.in.host
@@ -5,3 +5,11 @@  config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
 	depends on !BR2_ARM_CPU_ARMV4
 	# MIPS R6 support in Go has not yet been developed.
 	depends on !BR2_mips_64r6
+
+config BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
+	bool
+	default y
+	depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+	# Go doesn't support CGO linking on MIPS64x platforms
+	# See: https://github.com/karalabe/xgo/issues/46
+	depends on !BR2_mips64 && !BR2_mips64el