summaryrefslogtreecommitdiff
path: root/package/runc
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2016-07-06 09:34:30 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-06 21:23:37 +0200
commite0115a1f4da127772467d780c0fb15c8a7752f07 (patch)
treebb06e656e33879f3f1072ea0711c53007741db79 /package/runc
parente289630d62e8e9e261c81a0a8687bf8d2f545063 (diff)
runc: depends on CGO linking being supported
Fixes: http://autobuild.buildroot.net/results/35d72aac0b0cc0ac92bf309d1a957d7903b1411a/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/runc')
-rw-r--r--package/runc/Config.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/runc/Config.in b/package/runc/Config.in
index 1802e5944..fd5dee7c5 100644
--- a/package/runc/Config.in
+++ b/package/runc/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_RUNC
bool "runc"
depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+ depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
help
runC is a CLI tool for spawning and running containers
@@ -9,5 +10,6 @@ config BR2_PACKAGE_RUNC
https://github.com/opencontainers/runc
comment "runc 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