aboutsummaryrefslogtreecommitdiff
path: root/package/go/Config.in.host
diff options
context:
space:
mode:
Diffstat (limited to 'package/go/Config.in.host')
-rw-r--r--package/go/Config.in.host6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/go/Config.in.host b/package/go/Config.in.host
index 893a448709..3f16dbaec3 100644
--- a/package/go/Config.in.host
+++ b/package/go/Config.in.host
@@ -18,3 +18,9 @@ config BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
# Go doesn't support CGO linking on MIPS64x platforms
# See: https://github.com/karalabe/xgo/issues/46
depends on !BR2_mips64 && !BR2_mips64el
+
+# Host go packages should depend on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS
+config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS
+ bool
+ default y
+ depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS