summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker/docker_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/docker/docker_git.bb')
-rw-r--r--recipes-containers/docker/docker_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb
index 4d6c17c9..4ba5e817 100644
--- a/recipes-containers/docker/docker_git.bb
+++ b/recipes-containers/docker/docker_git.bb
@@ -97,6 +97,7 @@ do_compile() {
97 97
98 # Pass the needed cflags/ldflags so that cgo 98 # Pass the needed cflags/ldflags so that cgo
99 # can find the needed headers files and libraries 99 # can find the needed headers files and libraries
100 export GOARCH=${TARGET_GOARCH}
100 export CGO_ENABLED="1" 101 export CGO_ENABLED="1"
101 export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" 102 export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
102 export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" 103 export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"