sysklogd: fix build on musl
[buildroot-gz.git] / package / go / Config.in.host
bloba210033efdf650562c6039418e12e9386dd5976b
1 config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
2         bool
3         default y
4         depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \
5                 || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \
6                 || BR2_mips64 || BR2_mips64el
7         depends on !BR2_ARM_CPU_ARMV4
8         # MIPS R6 support in Go has not yet been developed.
9         depends on !BR2_MIPS_CPU_MIPS64R6
11 config BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
12         bool
13         default y
14         depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
15         # Go doesn't support CGO linking on MIPS64x platforms
16         # See: https://github.com/karalabe/xgo/issues/46
17         depends on !BR2_mips64 && !BR2_mips64el