diff options
| author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2016-07-06 09:34:28 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-06 21:22:46 +0200 |
| commit | 70061a50bf952a749092e0b016fd764f4bffbdd8 (patch) | |
| tree | f4aca043c8727aef95c15659688e9f5ef74779d4 /package/go | |
| parent | 00025c2686b1265e4f1ad0702f98655e90722114 (diff) | |
| download | buildroot-70061a50bf952a749092e0b016fd764f4bffbdd8.tar.gz buildroot-70061a50bf952a749092e0b016fd764f4bffbdd8.zip | |
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>
Diffstat (limited to 'package/go')
| -rw-r--r-- | package/go/Config.in.host | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/go/Config.in.host b/package/go/Config.in.host index e1b13c0f8e..d6d35dc3fd 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 |

