diff options
-rw-r--r-- | recipes-containers/docker/docker_git.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb index 46321b4b..97700f02 100644 --- a/recipes-containers/docker/docker_git.bb +++ b/recipes-containers/docker/docker_git.bb | |||
@@ -85,8 +85,8 @@ do_compile() { | |||
85 | # Pass the needed cflags/ldflags so that cgo | 85 | # Pass the needed cflags/ldflags so that cgo |
86 | # can find the needed headers files and libraries | 86 | # can find the needed headers files and libraries |
87 | export CGO_ENABLED="1" | 87 | export CGO_ENABLED="1" |
88 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 88 | export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
89 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 89 | export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
90 | # in order to exclude devicemapper and btrfs - https://github.com/docker/docker/issues/14056 | 90 | # in order to exclude devicemapper and btrfs - https://github.com/docker/docker/issues/14056 |
91 | export DOCKER_BUILDTAGS='exclude_graphdriver_btrfs exclude_graphdriver_devicemapper' | 91 | export DOCKER_BUILDTAGS='exclude_graphdriver_btrfs exclude_graphdriver_devicemapper' |
92 | 92 | ||