mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
go: define a hidden boolean to specify if CGO linking is supported
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
00025c2686
commit
70061a50bf
@@ -5,3 +5,11 @@ config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
|
|||||||
depends on !BR2_ARM_CPU_ARMV4
|
depends on !BR2_ARM_CPU_ARMV4
|
||||||
# MIPS R6 support in Go has not yet been developed.
|
# MIPS R6 support in Go has not yet been developed.
|
||||||
depends on !BR2_mips_64r6
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user