flannel: depends on CGO linking being supported
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 6 Jul 2016 08:34:29 +0000 (09:34 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 6 Jul 2016 19:23:06 +0000 (21:23 +0200)
Fixes:

  http://autobuild.buildroot.net/results/3594f33800857cf57302f9b58e30d68f1d9c33b9/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/flannel/Config.in

index cfdb9095fb50a6a9e5997e925a2dc902d22b6031..134111b1c081fa55d2f3b22e04e4b564b5bcc504 100644 (file)
@@ -1,10 +1,12 @@
 comment "flannel needs a toolchain w/ threads"
-       depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+       depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS && \
+               BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
        depends on !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_FLANNEL
        bool "flannel"
        depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+       depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
        depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          Flannel is a virtual network that gives a subnet to each